Skip to content

Commit 262bd5a

Browse files
authored
Style page-header-detail for small viewports (#1509)
1 parent f374a87 commit 262bd5a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/Site/views/languageforge/theme/default/sass/_global.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,17 @@
6565
}
6666
}
6767

68-
// for very small devices such as iPhone 5
69-
@media (max-width: 350px) {
68+
// for small and extra small devices
69+
@include media-breakpoint-down(sm) {
7070
.btn span {
7171
display: none;
7272
}
7373
#shareBtn, #settingsBtn {
7474
padding-right: 0;
75+
76+
span {
77+
display: none;
78+
}
7579
}
7680
}
7781

@@ -200,11 +204,15 @@
200204
font-size: 25px;
201205
line-height: 25px;
202206
font-weight: bold;
207+
white-space: nowrap;
208+
overflow: hidden;
209+
text-overflow: ellipsis;
203210
@include media-breakpoint-down(sm) {
204211
font-size: 18px;
205212
line-height: 18px;
206213
}
207214
}
215+
overflow: hidden;
208216
}
209217
}
210218
.breadcrumbs {

0 commit comments

Comments
 (0)