Skip to content

Commit

Permalink
BUGFIX:fixed position of back button in the cms-content-header - adap…
Browse files Browse the repository at this point in the history
…ted design to work around the inclusion of tabs.
  • Loading branch information
jbridson committed Feb 28, 2012
1 parent af59228 commit 59df00d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion admin/css/screen.css

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

7 changes: 6 additions & 1 deletion admin/scss/_style.scss
Expand Up @@ -102,9 +102,14 @@ body.cms {
color: $color-text-blue-link;
}

.backlink {
float:left;
margin-top:$grid-x - 1;
}

h2 {
float: left;
padding: $grid-y $grid-x 0 0;
padding: $grid-y $grid-x 0 $grid-x;
font-size: $font-base-size + 2;
line-height: $grid-x * 3;
font-weight: bold;
Expand Down
13 changes: 7 additions & 6 deletions admin/templates/Includes/LeftAndMain_EditForm.ss
Expand Up @@ -3,6 +3,13 @@
<% end_if %>
<div class="cms-content-header north">
<div>

<% if Backlink %>
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
<% _t('Back', 'Back') %>
</a>
<% end_if %>

<h2 id="page-title-heading">
<% control Controller %>
<% include CMSBreadcrumbs %>
Expand All @@ -22,12 +29,6 @@

<!-- <div class="cms-content-search">...</div> -->

<% if Backlink %>
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
<% _t('Back', 'Back') %>
</a>
<% end_if %>

</div>
</div>

Expand Down

0 comments on commit 59df00d

Please sign in to comment.