Skip to content

Commit 07dcd19

Browse files
authored
vue mastery banner mobile fix (#2085)
1 parent 11bd76f commit 07dcd19

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.vitepress/theme/components/VueMasteryBanner.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,20 @@ function close () {
7171
width: 100%;
7272
}
7373
74+
@media (max-width:400px) {
75+
.vuemastery-banner--wrapper .text {
76+
/* color: red; */
77+
font-size: 0.6rem;
78+
}
79+
}
80+
81+
@media (max-width:330px) {
82+
.vuemastery-banner--wrapper .text {
83+
/* color: yellow; */
84+
margin-left:10px;
85+
}
86+
}
87+
7488
@media (min-width:1001px) {
7589
7690
.vuemastery-banner:hover:after,
@@ -326,6 +340,7 @@ function close () {
326340
cursor: pointer;
327341
position: relative;
328342
overflow: hidden;
343+
white-space: nowrap;
329344
}
330345
331346
.vuemastery-button:after,

0 commit comments

Comments
 (0)