aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-19 12:39:18 -0400
committertaehoon <th.dev91@gmail.com>2019-09-20 11:35:47 -0400
commitae70439447d029e5f9e2fcd558dc198bff47c89b (patch)
tree6edeaf9820ba094e4d844eeb4fa7386fa775d2d2
parentad504768feacecdbd9f41f4bca470a58fdf0d059 (diff)
setting display: initial makes trouble, instead, toggle display: none using classname
-rw-r--r--index.html2
-rw-r--r--src/App.scss4
2 files changed, 5 insertions, 1 deletions
diff --git a/index.html b/index.html
index a8681c8b..fd4e795e 100644
--- a/index.html
+++ b/index.html
@@ -9,7 +9,7 @@
<link rel="stylesheet" href="/static/font/css/fontello.css">
<link rel="stylesheet" href="/static/font/css/animation.css">
</head>
- <body>
+ <body class="hidden">
<noscript>To use Pleroma, please enable JavaScript.</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
diff --git a/src/App.scss b/src/App.scss
index ea7b54e8..1f0b2619 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -38,6 +38,10 @@ h4 {
text-align: center;
}
+.hidden {
+ display: none;
+}
+
body {
font-family: sans-serif;
font-family: var(--interfaceFont, sans-serif);