ソースを参照

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

James Read 2 年 前
コミット
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) {