Mercurial > hg > mgallery
diff basic.css @ 143:be2e9d5e127d
Fix CSS so that use_tables actually works with the default example CSS.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Sep 2017 14:58:45 +0300 |
parents | c7e8f8b9dd8d |
children | c0c0708bd94d |
line wrap: on
line diff
--- a/basic.css Mon Sep 04 14:58:02 2017 +0300 +++ b/basic.css Mon Sep 04 14:58:45 2017 +0300 @@ -70,11 +70,15 @@ } .galleryTable { + align-items: center; + justify-content: center; + width: 100%; + background: #454; +} + +div.galleryTable { display: flex; flex-wrap: wrap; - align-items: center; - width: 100%; - background: #454; } div.galleryEntry { @@ -105,7 +109,7 @@ color: #f00; } -.galleryTable .galleryEntry { +div.galleryTable .galleryEntry { display: inline-block; vertical-align: middle; }