Skip to content

Commit

Permalink
fix image modal radius (#6656)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Oct 23, 2024
1 parent dd180f7 commit 1783736
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/app/src/components/home/ImageContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@
cursor: zoom-in;
&.zoomed {
cursor: zoom-out;
border-bottom-left-radius: 0;
border-bottom-left-radius: var(--modal-rd);
}
&.rtl {
right: 0;
left: unset;
border-radius: $radius 0 $radius 0;
&.zoomed {
border-bottom-right-radius: 0;
border-bottom-right-radius: var(--modal-rd);
}
}
Expand All @@ -222,6 +222,10 @@
cursor: zoom-in;
}
img.zoomed {
border-radius: var(--modal-rd);
}
img:not(.zoomed) {
width: 100%;
display: block;
Expand Down

0 comments on commit 1783736

Please sign in to comment.