1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

Use icon instead of "Discussions" text, fix bugs

- Fix admin page crash
- Only show invisible pin button on desktop; hide it completely on ≤ tablet
This commit is contained in:
Toby Zerner
2015-11-03 15:53:38 +10:30
parent 25932cf7c4
commit 96b85f1330
4 changed files with 12 additions and 2 deletions

View File

@@ -5,8 +5,14 @@
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 8px;
.icon {
font-size: 14px;
}
}
.Navigation-pin {
display: none;
opacity: 0;
margin-left: -5px !important;
border-radius: 0 @border-radius @border-radius 0;
@@ -18,6 +24,9 @@
}
@media @desktop-hd {
.Navigation-pin {
display: block;
}
.hasPane.panePinned, .hasPane.paneShowing {
.Navigation-back {
border-radius: @border-radius 0 0 @border-radius !important;