git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit f8196f783e989cd2c04642e1f2d7e1d21b4ef287

style lightbox so that it still works on tiny screens

Dominic Tarr committed on 7/30/2016, 11:12:06 AM
Parent: 0296a05dd03ffe0c6459f0ed6eaa38ab3af78180

Files changed

style.csschanged
style.cssView
@@ -83,9 +83,8 @@
8383 width: 600px;
8484 }
8585 }
8686
87-
8887 /* --- hypertabs ------- */
8988
9089 .hypertabs__tabs {
9190 overflow-y: hide;
@@ -241,20 +240,28 @@
241240 }
242241
243242 /* lightbox - used in message-confirm */
244243
245-.lightbox {
244+.lightbox__content {
246245 overflow: auto;
247246 background: #fff;
248- width: 600px;
247+ width: 100%;
248+ margin-left: auto;
249+ margin-right: auto;
249250 border: 1px solid #eee;
250251 top: 2em;
251252 bottom: 2em;
252253 left: 2em;
253254 right: 2em;
254255 padding: 1em;
255256 }
256257
258+@media (min-width: 600px) {
259+ .lightbox__content {
260+ width: 600px;
261+ }
262+}
263+
257264 .message-confirm {
258265 background: #fff;
259266 }
260267
@@ -320,9 +327,4 @@
320327 height: 1px;
321328 background: blue;
322329 }
323330
324-
325-
326-
327-
328-

Built with git-ssb-web