Skip to content

Commit

Permalink
ENHANCEMENT:fixed issues with overflow between tabs and breadcrumbs i…
Browse files Browse the repository at this point in the history
…n cms-content-header
  • Loading branch information
Jeremy Bridson committed Apr 16, 2012
1 parent 311bfba commit 64300ca
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
12 changes: 7 additions & 5 deletions admin/css/screen.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions admin/scss/_style.scss
Expand Up @@ -94,7 +94,8 @@ body.cms {
background: {
image:url(../images/textures/cms_content_header.png);
repeat:repeat;
}
}
overflow:hidden;

a {
color: $color-text-blue-link;
Expand All @@ -112,16 +113,20 @@ body.cms {
line-height: $grid-x * 3;
font-weight: bold;
text-shadow: darken($color-widget-bg, 15%) 1px 1px 0;
max-width: 100%;
margin: 0;
@include hide-text-overflow();
display:table-cell;
vertical-align:top;
width:100%;
.breadcrumbs-wrapper {
display:table-row;
.crumb {
display:table-cell;
line-height:26px;
}
}
}

& div {
width: 100%;
overflow: hidden;
display:table-row;
& .cms_backlink {
display:table-cell;
Expand All @@ -133,6 +138,7 @@ body.cms {
.cms-content-header-tabs {
display:table-cell;
white-space:nowrap;
width:100%;
.ui-tabs-nav {
float:right;
margin-right:$grid-x*4;
Expand Down
16 changes: 9 additions & 7 deletions admin/templates/CMSBreadcrumbs.ss
@@ -1,7 +1,9 @@
<% control Breadcrumbs %>
<% if Last %>
<span class="cms-panel-link crumb">$Title.XML</span>
<% else %>
<a class="cms-panel-link crumb" href="$Link">$Title.XML</a> /
<% end_if %>
<% end_control %>
<div class="breadcrumbs-wrapper">
<% control Breadcrumbs %>
<% if Last %>
<span class="cms-panel-link crumb">$Title.XML</span>
<% else %>
<a class="cms-panel-link crumb" href="$Link">$Title.XML</a>/
<% end_if %>
<% end_control %>
</div>

0 comments on commit 64300ca

Please sign in to comment.