Remove redundant admin-top-bar element
We weren't using the `admin-top-bar` class since commit e6c1cf774, and
we can always use the `.admin .top-bar` selector if we need to. And the
`row expanded` classes basically give an element a width of 100%, which
is already the default width for block elements.
This commit is contained in:
@@ -7,20 +7,18 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="expanded row admin-top-bar">
|
<div class="top-bar">
|
||||||
<div class="top-bar">
|
<h1>
|
||||||
<h1>
|
<%= link_to namespace_path do %>
|
||||||
<%= link_to namespace_path do %>
|
<%= setting["org_name"] %>
|
||||||
<%= setting["org_name"] %>
|
<br><small><%= namespaced_header_title %></small>
|
||||||
<br><small><%= namespaced_header_title %></small>
|
|
||||||
<% end %>
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
<% if show_account_menu? %>
|
|
||||||
<%= render Layout::ResponsiveMenuComponent.new do %>
|
|
||||||
<%= render Layout::AccountMenuComponent.new(user) %>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</h1>
|
||||||
|
|
||||||
|
<% if show_account_menu? %>
|
||||||
|
<%= render Layout::ResponsiveMenuComponent.new do %>
|
||||||
|
<%= render Layout::AccountMenuComponent.new(user) %>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user