4
0
Эх сурвалжийг харах

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

James Read 2 жил өмнө
parent
commit
046ffaecf4
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  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) {