changeset 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 9589faf2e8a1
children c0c0708bd94d
files basic.css
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
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;
 }