Skip to content

Commit

Permalink
Merge pull request sidekiq#2205 from seuros/overflow
Browse files Browse the repository at this point in the history
Footer style fix sidekiq#2204
  • Loading branch information
mperham committed Feb 27, 2015
2 parents 7351c39 + 26ebbfb commit 061f407
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions web/assets/stylesheets/application.css
Expand Up @@ -692,3 +692,15 @@ div.interval-slider input {
top: auto;
}
}

.redis-url
{
max-width: 400px;
overflow: hidden;
}

.redis-namespace
{
max-width: 250px;
overflow: hidden;
}
4 changes: 2 additions & 2 deletions web/views/_footer.erb
Expand Up @@ -6,14 +6,14 @@
<p class="navbar-text" style="color:white;"><%= product_version %></p>
</li>
<li>
<p class="navbar-text">Redis: <%= redis_connection %></p>
<p class="navbar-text redis-url">Redis: <%= redis_connection %></p>
</li>
<li>
<p class="navbar-text"><%= t('Time') %>: <%= Time.now.utc.strftime('%H:%M:%S UTC') %></p>
</li>
<% if namespace %>
<li>
<p class="navbar-text"><%= t('Namespace') %>: <%= namespace %></p>
<p class="navbar-text redis-namespace"><%= t('Namespace') %>: <%= namespace %></p>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit 061f407

Please sign in to comment.