diff sat_templates/templates/default/static/styles.css @ 188:e85122a39e8f

css (grid): added `overflow: hidden` on items + added .grid__item--small and .grid__item--auto
author Goffi <goffi@goffi.org>
date Sun, 14 Apr 2019 08:09:42 +0200
parents 240bbac435f4
children e5fdd7e13764
line wrap: on
line diff
--- a/sat_templates/templates/default/static/styles.css	Sun Apr 14 08:09:40 2019 +0200
+++ b/sat_templates/templates/default/static/styles.css	Sun Apr 14 08:09:42 2019 +0200
@@ -635,15 +635,27 @@
     justify-content: center;
 }
 
+.grid__item {
+    overflow: hidden;
+    margin: 0 0.1em;
+    padding: 0.2em;
+    text-align: center;
+}
+
 li.grid__item>a {
     text-decoration: none;
     color: inherit;
 }
 
+.grid__item--small {
+    width: 80px;
+}
+
 .grid__item--medium {
-   width: 170px;
-   padding: 0.2em;
-   text-align: center;
+    width: 170px;
+}
+
+.grid__item--auto {
 }
 
 .grid__item--selectable {