diff --git a/src/styles/App.css b/src/styles/App.css index 424239b..15aa058 100644 --- a/src/styles/App.css +++ b/src/styles/App.css @@ -43,9 +43,9 @@ @media screen and (max-height: 440px){ .container { - display: none; + display: none!important; } - html::before { + body::before { content: "设备屏幕高度过小"; position: absolute; top: 50%; @@ -53,7 +53,7 @@ transform: translate(-50%, -50%); font-size: 2rem; font-weight: bold; - color: #fa255e; + color: var(--text-highlight); } } .container {