Skip to content

Commit

Permalink
876896, 876911, 878355, 878750, 874502, 874510 - Fixed
Browse files Browse the repository at this point in the history
panel-name/new-link overlap

fixed the overlapping of text contained in the panel title and new
object links
  • Loading branch information
komidore64 committed Dec 4, 2012
1 parent d860641 commit 30a0119
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/app/stylesheets/katello.scss
Expand Up @@ -653,6 +653,8 @@ fieldset {
z-index: 0;
h2 {
margin-bottom: 8px;
width: 164px;
max-width: 164px;
}
#new {
border-bottom: 0 none;
Expand All @@ -662,8 +664,8 @@ fieldset {
text-align: center;
width: 10em;
right: 0;
height: 2em;
height: 21px;
min-height: 21px;
height: auto;
font-size: 100% !important;
&.block{
&.active{
Expand Down
2 changes: 1 addition & 1 deletion src/app/views/common/_panel.html.haml
Expand Up @@ -32,7 +32,7 @@
%div.left{:class => left_panel_width ? left_panel_width : 'column_panel_' + columns.length.to_s }
#list-title
%header
%h2.fl #{title}
%h2.fl.one-line-ellipsis{:title => title} #{title}
- if enable_create
%a.fr#new{:href => "#", :class => (disable_create ? "disabled tipsify-west" : "block"), "data-ajax_url" => url_for(:action=> 'new'), :title => (disable_create if disable_create) }
- if !create_label.nil?
Expand Down
1 change: 1 addition & 0 deletions src/public/javascripts/panel.js
Expand Up @@ -207,6 +207,7 @@ $(document).ready(function () {
//register the default actions for the page's actions partial
KT.panel.actions.registerDefaultActions();

$('#list-title h2').tipsy();

});

Expand Down

0 comments on commit 30a0119

Please sign in to comment.