Skip to content

Commit

Permalink
Lightbox: Added Button to jump to current image within the conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
findus committed Nov 21, 2024
1 parent 18d3311 commit 98b0a13
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions stylesheets/components/Lightbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@

&__thumbnail {
@include mixins.button-reset;

& {
position: relative;
border-radius: 6px;
Expand Down Expand Up @@ -88,7 +87,6 @@
'../images/image.svg',
variables.$color-gray-25
);

& {
height: 100%;
width: 100%;
Expand Down Expand Up @@ -137,7 +135,6 @@

&__unsupported {
@include mixins.button-reset;

& {
flex-grow: 1;
height: 100%;
Expand Down Expand Up @@ -298,7 +295,6 @@

&__button {
@include mixins.button-reset;

& {
border-radius: 4px;
display: inline-block;
Expand Down Expand Up @@ -326,26 +322,26 @@
&--forward {
&::before {
@include mixins.color-svg(
'../images/icons/v3/forward/forward.svg',
variables.$color-gray-15
'../images/icons/v3/forward/forward.svg',
variables.$color-gray-15
);
}
}

&--save {
&::before {
@include mixins.color-svg(
'../images/icons/v3/save/save.svg',
variables.$color-gray-15
'../images/icons/v3/save/save.svg',
variables.$color-gray-15
);
}
}

&--jump {
&::before {
@include mixins.color-svg(
'../images/icons/v3/chat/chat.svg',
variables.$color-gray-15
'../images/icons/v3/chat/chat.svg',
variables.$color-gray-15
);
}
}
Expand Down Expand Up @@ -384,7 +380,6 @@
}

outline: none;

&:focus {
outline: none;
}
Expand Down

0 comments on commit 98b0a13

Please sign in to comment.