Skip to content

Commit 9eeedbb

Browse files
committed
fix(homepage): enhance button styles and adjust font sizes in home.vue
1 parent 9d7da4b commit 9eeedbb

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

sites/homepage/web/src/views/home.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ const buttonSize = computed(() => {
222222
width: 100%;
223223
height: 100%;
224224
object-fit: contain;
225+
filter: drop-shadow(0 0 40px rgba(232, 220, 244, 0.7));
225226
}
226227
}
227228
@@ -253,7 +254,7 @@ const buttonSize = computed(() => {
253254
}
254255
255256
&-decsription {
256-
font-size: var(--font-size-title-sm);
257+
font-size: 20px;
257258
font-weight: 400;
258259
line-height: var(--line-height-description);
259260
text-align: left;
@@ -262,19 +263,16 @@ const buttonSize = computed(() => {
262263
animation: slideUpFromBottom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
263264
opacity: 0;
264265
line-height: 1.5;
266+
max-width: calc(var(--font-size-title-lg) * 12);
265267
266268
@media (max-width: 1280px) {
267269
margin-bottom: 42px;
268270
}
269271
}
270272
271273
@media (max-width: 768px) {
272-
&-title {
273-
white-space: normal;
274-
}
275-
276-
&-subtitle {
277-
white-space: normal;
274+
&-left {
275+
margin-right: 0;
278276
}
279277
}
280278
@@ -345,7 +343,7 @@ const buttonSize = computed(() => {
345343
}
346344
347345
&-decsription {
348-
font-size: var(--font-size-body-md);
346+
font-size: 14px;
349347
white-space: normal;
350348
margin-bottom: 28px;
351349
}

0 commit comments

Comments
 (0)