Skip to content

Commit c4b97db

Browse files
committed
Fix LocaleChooser on narrow screen: set to two lines
Signed-off-by: Olga Bulat <obulat@gmail.com>
1 parent a7597d5 commit c4b97db

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/components/LocaleChooser.vue

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,25 @@ export default {
6262
.locale-chooser-field .control .select::before {
6363
content: url("../assets/language.png");
6464
position: absolute;
65-
z-index: 10;
65+
z-index: 1;
6666
left:10px;
6767
top:8px;
6868
}
69+
.locale-chooser .select:not(.is-multiple):not(.is-loading)::after {
70+
z-index: 0;
71+
}
72+
@media only screen and (max-width: 768px) {
73+
.locale-chooser {
74+
height: auto;
75+
margin-bottom: 1rem;
76+
}
77+
.locale-chooser-field {
78+
width: 100%;
79+
display: grid;
80+
grid-template-columns: 100%;
81+
}
82+
.locale-chooser-field .label {
83+
justify-self: auto;
84+
}
85+
}
6986
</style>

0 commit comments

Comments
 (0)