Quellcode durchsuchen

style: 评测得分样式优化

TIANYONG vor 2 Wochen
Ursprung
Commit
22a3f0e60a
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/view/selection/index.module.less

+ 3 - 3
src/view/selection/index.module.less

@@ -83,9 +83,9 @@
 
 .scoreItem {
     position: absolute;
-    left: 80%;
-    top: -120%;
-    transform: translateX(-50%);
+    right: 10px;
+    top: -45px;
+    transform: translateX(-50%);   
     font-size: 16px;
     font-family: "Roboto", sans-serif;
     font-weight: bold;