Explorar o código

feature: Displays now have centered text, and "fit in" a bit better (#320)

James Read %!s(int64=2) %!d(string=hai) anos
pai
achega
046ffaecf4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      webui.dev/style.css

+ 5 - 0
webui.dev/style.css

@@ -468,6 +468,11 @@ div.display {
   border: 1px solid #666;
   box-shadow: 0 0 6px 0 #aaa;
   border-radius: .7em;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  flex-direction: column;
+  font-size: small;
 }
 
 @media screen and (width <= 600px) {