Explorar el Código

【格式】添加认证页面的 CSS 样式

- 新增 #auth 样式,设置高度和宽度为 100%
- 保留原有的 h1 字体样式
PJ568 hace 1 año
padre
commit
3e0f14ad97
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/pageos-login-manager.js

+ 5 - 1
src/pageos-login-manager.js

@@ -12,7 +12,11 @@
 (function (Scratch) {
 (function (Scratch) {
   "use strict";
   "use strict";
 
 
-  const DEFAULT_CSS = `h1 {
+  const DEFAULT_CSS = `#auth {
+    height: 100%;
+    width: 100%;
+  }
+  h1 {
     font-size: xx-large;
     font-size: xx-large;
   }
   }
   summary {
   summary {