summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/objects/_lightbox.scss16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss
index 568265e..a5f077f 100644
--- a/src/objects/_lightbox.scss
+++ b/src/objects/_lightbox.scss
@@ -51,7 +51,7 @@
51 grid-template-rows: auto minmax(0, 1fr) auto auto; 51 grid-template-rows: auto minmax(0, 1fr) auto auto;
52 grid-template-columns: auto minmax(0, 1fr) auto; 52 grid-template-columns: auto minmax(0, 1fr) auto;
53 grid-template-areas: 53 grid-template-areas:
54 'header header close' 54 'header header header'
55 'prev content next' 55 'prev content next'
56 'thumbnails thumbnails thumbnails' 56 'thumbnails thumbnails thumbnails'
57 'footer footer footer'; 57 'footer footer footer';
@@ -60,8 +60,10 @@
60 overflow: hidden; 60 overflow: hidden;
61 61
62 @include iro.bem-elem('header') { 62 @include iro.bem-elem('header') {
63 grid-area: header; 63 grid-area: header;
64 padding: fn.dim(--pad) fn.dim(--pad) 0; 64 display: flex;
65 align-items: flex-start;
66 padding: fn.dim(--pad) fn.dim(--pad) 0;
65 } 67 }
66 68
67 @include iro.bem-elem('img') { 69 @include iro.bem-elem('img') {
@@ -108,11 +110,9 @@
108 } 110 }
109 111
110 @include iro.bem-elem('close-btn') { 112 @include iro.bem-elem('close-btn') {
111 grid-area: close; 113 flex: 0 0 auto;
112 align-self: start; 114 margin: calc(-.5 * fn.dim(--pad)) calc(-.5 * fn.dim(--pad)) 0 auto;
113 margin-top: calc(.5 * fn.dim(--pad)); 115 font-size: fn.dim(--close-button --font-size);
114 margin-right: calc(.5 * fn.dim(--pad));
115 font-size: fn.dim(--close-button --font-size);
116 } 116 }
117 117
118 @include iro.bem-elem('nav-btn') { 118 @include iro.bem-elem('nav-btn') {