Skip to content

Commit 99e0da6

Browse files
committed
fix(mobile): Site title collapses when menu too small
fixes #18
1 parent fd2ca27 commit 99e0da6

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

modules.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
@import "modules/alerts";
1+
@import "modules/alerts";
2+
@import "modules/header";

modules/header.less

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@media (max-width: 600px) {
2+
#header {
3+
.header-inner {
4+
display: flex;
5+
6+
.logo {
7+
flex: 1;
8+
9+
a.title {
10+
max-width: 100%;
11+
white-space: nowrap;
12+
overflow: hidden;
13+
text-overflow: ellipsis;
14+
}
15+
}
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)