Procházet zdrojové kódy

优化文字内容样式

xiebaomin před 2 roky
rodič
revize
f4d68f7ce4

+ 6 - 1
src/main/resources/static/css/supplier-login/login.css

@@ -36,6 +36,8 @@ body{
     color: #FF5B00;
     position: relative;
     cursor: pointer;
+    box-sizing: border-box;
+    height: 1.2vw;
 }
 .username::after {
     content: '\276F';
@@ -46,6 +48,9 @@ body{
     transform: rotate(90deg);
     transition: .3s;
 }
+.username:hover {
+    border-bottom: 1px solid;
+}
 .username:hover::after{
     transform: rotate(270deg);
 }
@@ -59,7 +64,7 @@ body{
     display: none;
     position: absolute;
     right: 0;
-    top: 2vh;
+    top: 2.5vh;
     flex-direction: column;
     justify-content: space-around;
     align-items: center;