Skip to content

Commit f8b5e17

Browse files
chore: styles (sp menu btn, wide layout transition) (#929)
* fix: sp button width * fix: unset transition for widen content
1 parent 08c3033 commit f8b5e17

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/components/cta/VFSpCtaMobileButton.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const label = computed(() => isOpened ? "Close" : openerText);
3131
border-radius: 20px;
3232
font-family: JetBrainsMono-Medium !important;
3333
font-size: 0.875rem;
34+
min-width: 8rem;
3435
3536
/* TODO: no hover style when touch devices (in VFButton) */
3637
@media (any-hover: hover) {

app/components/menu/VFSpMenuMobileButton.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const label = computed(() => isOpened ? "Close" : "Menu");
3131
border-radius: 20px;
3232
font-family: JetBrainsMono-Medium !important;
3333
font-size: 0.875rem;
34+
min-width: 7rem;
3435
3536
/* TODO: no hover style when touch devices (in VFButton) */
3637
@media (any-hover: hover) {

app/layouts/default.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ watch(() => route.hash, async (hash) => {
233233
234234
&.widen-content {
235235
min-width: 960px;
236+
transition: unset;
236237
237238
@media (--mobile) {
238239
min-width: 0;

0 commit comments

Comments
 (0)