Make lightbox buttons smaller

This commit is contained in:
Fedor Indutny 2023-05-02 06:54:01 -07:00 committed by Josh Perez
parent 00349b5b33
commit a02fdc9049

View file

@ -189,13 +189,12 @@
&__nav-next,
&__nav-prev {
--height: 224px;
position: absolute;
top: 0;
display: flex;
flex-direction: column;
top: calc(50% - var(--height) / 2);
width: 25%;
height: 100%;
justify-content: center;
max-width: 96px;
height: var(--height);
// We need this so that the buttons stack above the container
z-index: $z-index-above-base;
@ -332,8 +331,6 @@
&--next {
width: 100%;
height: 100%;
max-width: 96px;
max-height: 224px;
opacity: 0;
transition: opacity 200ms ease-in-out;