|
81 | 81 | } |
82 | 82 |
|
83 | 83 | .VPNavBarTitle .title { |
84 | | - max-width: calc(100vw - 156px); |
| 84 | + max-width: calc(100vw - 132px); |
85 | 85 | white-space: nowrap; |
86 | 86 | overflow: hidden; |
87 | 87 | text-overflow: ellipsis; |
88 | 88 | } |
89 | 89 |
|
90 | 90 | /* 首页 hero 区域适配 */ |
91 | 91 | .VPHero { |
92 | | - padding-top: 32px !important; |
| 92 | + padding-top: 40px !important; |
93 | 93 | padding-bottom: 24px !important; |
94 | 94 | } |
95 | 95 |
|
|
98 | 98 | width: 100% !important; |
99 | 99 | } |
100 | 100 |
|
| 101 | + .VPHero .container { |
| 102 | + padding-left: 20px !important; |
| 103 | + padding-right: 20px !important; |
| 104 | + } |
| 105 | + |
101 | 106 | .VPHero .image { |
102 | | - margin: 0 auto 8px !important; |
| 107 | + margin: 0 auto 16px !important; |
103 | 108 | order: -1; |
| 109 | + width: 100% !important; |
104 | 110 | } |
105 | 111 |
|
106 | 112 | .VPHero .image-container { |
107 | | - width: min(64vw, 260px) !important; |
108 | | - height: min(64vw, 260px) !important; |
| 113 | + width: min(72vw, 300px) !important; |
| 114 | + height: auto !important; |
| 115 | + min-height: min(86vw, 360px) !important; |
| 116 | + margin: 0 auto !important; |
109 | 117 | } |
110 | 118 |
|
111 | 119 | .VPHero .image-bg { |
|
151 | 159 | padding: 12px 20px !important; |
152 | 160 | font-size: 16px !important; |
153 | 161 | height: auto !important; |
| 162 | + min-height: 56px !important; |
154 | 163 | line-height: 1.5 !important; |
155 | 164 | border-radius: 999px !important; |
| 165 | + white-space: normal !important; |
| 166 | + text-align: center !important; |
| 167 | + overflow-wrap: anywhere; |
156 | 168 | } |
157 | 169 |
|
158 | | - /* 首页 feature 卡片全宽显示 */ |
| 170 | + /* 首页 feature 卡片全宽显示,避免文本被截断 */ |
159 | 171 | .VPHomeFeatures, |
160 | 172 | .VPFeatures, |
161 | 173 | .VPFeatures .container { |
|
164 | 176 | padding-right: 0 !important; |
165 | 177 | } |
166 | 178 |
|
| 179 | + .VPFeatures { |
| 180 | + padding: 0 16px !important; |
| 181 | + } |
| 182 | + |
167 | 183 | .VPFeatures .items { |
168 | 184 | display: flex !important; |
169 | 185 | flex-direction: column !important; |
170 | 186 | gap: 16px !important; |
| 187 | + margin: 0 !important; |
171 | 188 | } |
172 | 189 |
|
173 | 190 | .VPFeatures .items .item { |
|
176 | 193 | padding: 0 !important; |
177 | 194 | } |
178 | 195 |
|
| 196 | + .VPFeature, |
| 197 | + .VPFeature .box { |
| 198 | + height: auto !important; |
| 199 | + min-height: 0 !important; |
| 200 | + } |
| 201 | + |
179 | 202 | .VPFeature { |
180 | 203 | padding: 20px !important; |
181 | 204 | border-radius: 24px !important; |
182 | 205 | } |
| 206 | + |
| 207 | + .VPFeature .box { |
| 208 | + padding: 0 !important; |
| 209 | + } |
| 210 | + |
| 211 | + .VPFeature .title, |
| 212 | + .VPFeature .details { |
| 213 | + white-space: normal !important; |
| 214 | + overflow: visible !important; |
| 215 | + text-overflow: unset !important; |
| 216 | + word-break: break-word; |
| 217 | + overflow-wrap: anywhere; |
| 218 | + } |
183 | 219 | } |
184 | 220 |
|
185 | 221 | @media (max-width: 480px) { |
186 | 222 | .VPNavBarTitle .title { |
187 | | - max-width: calc(100vw - 132px); |
| 223 | + max-width: calc(100vw - 120px); |
| 224 | + } |
| 225 | + |
| 226 | + .VPHero { |
| 227 | + padding-top: 32px !important; |
188 | 228 | } |
189 | 229 |
|
190 | 230 | .VPHero .container { |
191 | | - padding-left: 24px !important; |
192 | | - padding-right: 24px !important; |
| 231 | + padding-left: 16px !important; |
| 232 | + padding-right: 16px !important; |
| 233 | + } |
| 234 | + |
| 235 | + .VPHero .image-container { |
| 236 | + width: min(78vw, 300px) !important; |
| 237 | + min-height: min(94vw, 360px) !important; |
193 | 238 | } |
194 | 239 |
|
195 | 240 | .VPFeature { |
|
0 commit comments