Skip to content
Extraits de code Groupes Projets
Valider a7bd0295 rédigé par augier's avatar augier
Parcourir les fichiers

Add 'toggle mobile' item to menu + minor styling

parent a7b854e7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -9,6 +9,14 @@ header > .dark-header > nav {
@media (max-width: $grid-float-breakpoint-max) {
.col-lg-10 { padding: 0; }
#navbar-collapse {
&.collapse.in { overflow: visible; }
.form-group, .twitter-typeahead {
display: block !important;
margin-bottom: 0;
&, & input { width: 100% }
}
}
}
@media (min-width: $grid-float-breakpoint) {
input[type="search"] {
......
......@@ -94,6 +94,7 @@
{{#if current_user.admin}}
<li><a href="/admins/dashboard">{{t "header.admin"}}</a></li>
{{/if}}
<li class="visible-sm visible-xs"><a href="/mobile/toggle">{{t "header.toggle_mobile"}}</a></li>
<li><a href="/users/sign_out" data-method="delete">{{t "header.log_out"}}</a></li>
</ul>
</li>
......
......@@ -228,6 +228,7 @@ en:
admin: "Admin"
log_out: "Log out"
toggle_navigation: "Toggle navigation"
toggle_mobile: "Toggle mobile"
notifications: "Notifications"
conversations: "Conversations"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter