Skip to content

Commit

Permalink
ensure titles dont overflow (#4194)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Feb 28, 2025
1 parent 5bc8cf4 commit 0442402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/dashboard/app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ nav.navbar {

a.navbar-brand.navbar-brand-logo {
display: inline-block;
height: 2em;
max-width: 20em;
overflow-x: hidden;
}

.navbar-brand.navbar-brand-logo img {
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/layouts/nav/_logo.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<img class="img-fluid" src="<%= @user_configuration.dashboard_header_img_logo %>" alt="<%= @user_configuration.dashboard_title %>">
</a>
<% else %>
<a class="navbar-brand" <%= aria %> role='menuitem' href="<%= root_path %>"><%= @user_configuration.dashboard_title %></a>
<a class="navbar-brand navbar-brand-logo" <%= aria %> role='menuitem' href="<%= root_path %>"><%= @user_configuration.dashboard_title %></a>
<% end %>
</li>

0 comments on commit 0442402

Please sign in to comment.