默认提交
Showing
2 changed files
with
13 additions
and
8 deletions
... | @@ -9,11 +9,13 @@ | ... | @@ -9,11 +9,13 @@ |
9 | 9 | ||
10 | .list { | 10 | .list { |
11 | position: absolute; | 11 | position: absolute; |
12 | width: 110%; | 12 | width: 11rem; |
13 | left: 0; | 13 | left: 0; |
14 | right: 0; | 14 | right: 0; |
15 | margin: 0 auto; | 15 | margin: 0 auto; |
16 | font-size: $fontSize; | 16 | font-size: $fontSize; |
17 | left: 50%; | ||
18 | transform: translateX(-50%); //居中处理 | ||
17 | 19 | ||
18 | .space { | 20 | .space { |
19 | height: 1.5rem; | 21 | height: 1.5rem; |
... | @@ -66,6 +68,10 @@ | ... | @@ -66,6 +68,10 @@ |
66 | } | 68 | } |
67 | } | 69 | } |
68 | } | 70 | } |
71 | .drop-list:lang(en){ | ||
72 | min-width: 0; | ||
73 | margin: 0 32px; | ||
74 | } | ||
69 | 75 | ||
70 | .user { | 76 | .user { |
71 | width: 9.25rem; | 77 | width: 9.25rem; |
... | @@ -97,13 +103,13 @@ | ... | @@ -97,13 +103,13 @@ |
97 | @media (max-width: 1100px) { | 103 | @media (max-width: 1100px) { |
98 | .drop-list { | 104 | .drop-list { |
99 | margin: 0 28px; | 105 | margin: 0 28px; |
100 | min-width: auto; | 106 | min-width: 0; |
101 | 107 | ||
102 | .list { | 108 | // .list { |
103 | width: 11rem; | 109 | // width: 11rem; |
104 | left: 50%; | 110 | // left: 50%; |
105 | transform: translateX(-50%); //居中处理 | 111 | // transform: translateX(-50%); //居中处理 |
106 | } | 112 | // } |
107 | } | 113 | } |
108 | .drop-list:lang(en) { | 114 | .drop-list:lang(en) { |
109 | margin: 0 22px; | 115 | margin: 0 22px; | ... | ... |
-
Please register or sign in to post a comment