better responsive layout for new topic btn

This commit is contained in:
Jeff Atwood 2017-06-23 01:52:06 -07:00
parent b7e6620109
commit bfd892bbbc
2 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,6 @@
{{navigation-bar navItems=navItems filterMode=filterMode}}
{{#if canCreateTopic}}
<button id="create-topic" class='btn btn-default' {{action "createTopic"}}><i class='fa fa-plus'></i>{{i18n 'topic.create'}}</button>
<button id="create-topic" class='btn btn-default' {{action "createTopic"}}><i class='fa fa-plus'></i><span>{{i18n 'topic.create'}}</span></button>
{{/if}}
{{/d-section}}

View File

@ -313,10 +313,20 @@ and (max-width : 850px) {
.nav-pills {
> li > a {
font-size: 1em;
padding: 5px 10px ;
padding: 5px 10px;
}
}
// new topic just a "+" no text
button#create-topic {
span {
display: none;
}
i {
margin-right: 0;
}
}
.topic-list {
// tighter table header spacing