Browse Source

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

James Read 2 năm trước cách đây
mục cha
commit
046ffaecf4
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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) {