Make lightbox buttons smaller
This commit is contained in:
parent
00349b5b33
commit
a02fdc9049
1 changed files with 4 additions and 7 deletions
|
@ -189,13 +189,12 @@
|
||||||
|
|
||||||
&__nav-next,
|
&__nav-next,
|
||||||
&__nav-prev {
|
&__nav-prev {
|
||||||
|
--height: 224px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: calc(50% - var(--height) / 2);
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
width: 25%;
|
width: 25%;
|
||||||
height: 100%;
|
max-width: 96px;
|
||||||
justify-content: center;
|
height: var(--height);
|
||||||
|
|
||||||
// We need this so that the buttons stack above the container
|
// We need this so that the buttons stack above the container
|
||||||
z-index: $z-index-above-base;
|
z-index: $z-index-above-base;
|
||||||
|
@ -332,8 +331,6 @@
|
||||||
&--next {
|
&--next {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 96px;
|
|
||||||
max-height: 224px;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 200ms ease-in-out;
|
transition: opacity 200ms ease-in-out;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue