Sfoglia il codice sorgente

修改H5场景间距大小

chenzimin 2 anni fa
parent
commit
7380de0992
2 ha cambiato i file con 15 aggiunte e 2 eliminazioni
  1. 12 0
      H5场景/public/static/css/main.css
  2. 3 2
      H5场景/src/views/gui/menu.vue

+ 12 - 0
H5场景/public/static/css/main.css

@@ -3929,6 +3929,11 @@ a.tag-link {
     align-items: center;
     cursor: pointer;
 }
+@media only screen and (min-width: 1000px) and (max-width: 2000px) {
+    #gui-modes-map>div[rel] {
+        width: 70px;
+    }
+}
 
 @media only screen and (min-width: 2000px) {
     #gui-modes-map>div[rel] {
@@ -4345,6 +4350,13 @@ a.tag-link {
     cursor: pointer;
 }
 
+@media only screen and (min-width: 1000px) and (max-width: 2000px) {
+    #play,
+    #pause {
+        width: 70px;
+    }
+}
+
 @media only screen and (min-width: 2000px) {
     #play,
     #pause {

+ 3 - 2
H5场景/src/views/gui/menu.vue

@@ -409,12 +409,13 @@ export default {
     position: relative;
     z-index: 100;
 
-    @media screen and (min-width: 1000px) {
+    @media screen and (min-width: 1000px) and (max-width: 2000px) {
       height: auto;
-
+      width: 70px;
     }
 
     @media screen and (min-width: 2000px) {
+      height: auto;
       width: 100px;
     }