Skip to content

Commit a6b15b7

Browse files
committed
Navbar polishing for mobile
1 parent 8be1607 commit a6b15b7

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

app/views/layouts/_navbar.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@
129129

130130
<ul class="right">
131131
<% if user_signed_in? %>
132-
<li>
133-
<a class="dropdown-button tooltipped" href="#!" data-activates="recent-content-dropdown" data-position="bottom" data-delay="100" data-tooltip="Your recently-edited pages">
134-
<i class="material-icons">recent_actors</i>
135-
</a>
136-
</li>
137132
<li>
138133
<a class="dropdown-button tooltipped" href="#!" data-activates="help-dropdown" data-position="bottom" data-delay="100" data-tooltip="Need help?">
139134
<i class="material-icons">help</i>
@@ -157,6 +152,11 @@
157152
<%= render partial: 'universes/picker' %>
158153
<% end %>
159154
</li>
155+
<li>
156+
<a class="dropdown-button tooltipped" href="#!" data-activates="recent-content-dropdown" data-position="bottom" data-delay="100" data-tooltip="Your recently-edited pages">
157+
<i class="material-icons">recent_actors</i>
158+
</a>
159+
</li>
160160
<% else %>
161161
<li>
162162
<a href="#" data-activates="login-slide" class="button-collapse">

app/views/universes/_picker.html.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<a class="dropdown-button tooltipped" href="#!" data-activates="dropdown_universes" data-position="bottom" data-delay="100" data-tooltip="<%= tooltip %>">
1010
<i class="material-icons <%= 'left' if @universe_scope.present? %>">vpn_lock</i>
1111
<% if @universe_scope.present? %>
12-
<%= @universe_scope.name %>
12+
<div class="hide-on-small-only">
13+
<%= @universe_scope.name %>
14+
</div>
1315
<% end %>
1416
</a>
1517
</li>

0 commit comments

Comments
 (0)