Skip to content

Commit 5d24234

Browse files
committed
style: adjust hero copy width for better mobile responsiveness
1 parent 799c1a1 commit 5d24234

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/.vitepress/theme/components/HomeHeroCopy.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@
9797
transition: all 0.25s ease;
9898
position: relative;
9999
user-select: none;
100-
max-width: 100%;
101-
/* min-width: 300px; Remove fixed min-width for mobile */
100+
max-width: calc(100vw - 2 * 24px);
102101
width: 100%;
103102
}
104103

0 commit comments

Comments
 (0)