Skip to content

Commit

Permalink
fix gallery reorder styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3orblade committed Jan 31, 2025
1 parent 05249ef commit 2e41225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scss/block/dataview/view/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

.cover {
img { width: 100%; height: 100%; object-fit: cover; }
img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.mediaVideo { height: 100%; }
.mediaVideo {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/block/dataview/view/gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.card {
width: 100%; border: 1px solid var(--color-shape-highlight-medium); transition-property: border-color, background; transition-duration: 0.1s;
transition-timing-function: $easeInQuint; border-radius: 8px; display: inline-block; background: var(--color-bg-primary);
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05); min-height: 72px; position: relative; overflow: hidden;
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05); min-height: 72px; position: relative;
}

.card.add { box-shadow: 0px 0px; }
Expand Down

0 comments on commit 2e41225

Please sign in to comment.