From f546e0db642cff6270ea2ea98635b1995f8168e7 Mon Sep 17 00:00:00 2001 From: Kirk Mayo Date: Fri, 15 Jun 2012 15:38:29 +1200 Subject: [PATCH] BUGFIX: trac/7462 Amended the css to fix this by adding text-transform: capitialize and display: block to the relevant css --- admin/css/screen.css | 2 +- admin/scss/_style.scss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/css/screen.css b/admin/css/screen.css index 4908fff41..d682d0296 100644 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -290,7 +290,7 @@ body.cms { overflow: hidden; } .cms-content-header .ui-tabs-nav .ui-state-active, .cms-content-header .ui-tabs-nav .ui-widget-content .ui-state-active, .cms-content-header .ui-tabs-nav .ui-widget-header .ui-state-active, .cms-dialog .ui-tabs-nav .ui-state-active, .cms-dialog .ui-tabs-nav .ui-widget-content .ui-state-active, .cms-dialog .ui-tabs-nav .ui-widget-header .ui-state-active { background: #f0f3f4 url(../images/textures/bg_cms_main_content.png) repeat top left; border-right-color: #b3b3b3; border-left-color: #b3b3b3; margin-right: -1px; margin-left: -1px; z-index: 2; } .cms-content-header .ui-tabs-nav .ui-state-active a, .cms-content-header .ui-tabs-nav .ui-widget-content .ui-state-active a, .cms-content-header .ui-tabs-nav .ui-widget-header .ui-state-active a, .cms-dialog .ui-tabs-nav .ui-state-active a, .cms-dialog .ui-tabs-nav .ui-widget-content .ui-state-active a, .cms-dialog .ui-tabs-nav .ui-widget-header .ui-state-active a { border-bottom: none; color: #444444; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); } -.CMSPagesController .cms-content-header-tabs .ui-tabs-nav li a { font-weight: bold; line-height: 16px; padding: 12px 20px 11px; text-indent: -9999em; background: url(../images/content-header-tabs-sprite.png) no-repeat; } +.CMSPagesController .cms-content-header-tabs .ui-tabs-nav li a { font-weight: bold; line-height: 16px; padding: 12px 20px 11px; text-transform: capitalize; text-indent: -9999em; display: block; background: url(../images/content-header-tabs-sprite.png) no-repeat; } .CMSPagesController .cms-content-header-tabs .ui-tabs-nav li.content-treeview a { background-position: 2px 0px; } .CMSPagesController .cms-content-header-tabs .ui-tabs-nav li.content-galleryview a { background-position: -87px 0px; } .CMSPagesController .cms-content-header-tabs .ui-tabs-nav li.content-listview a { background-position: -38px 0px; } diff --git a/admin/scss/_style.scss b/admin/scss/_style.scss index 01abd84ce..f51006f0e 100644 --- a/admin/scss/_style.scss +++ b/admin/scss/_style.scss @@ -249,8 +249,10 @@ body.cms { font-weight: bold; line-height: $grid-y * 2; padding: ($grid-y * 2 - 4) ($grid-x * 2 + 4) $grid-y + 3; + text-transform: capitalize; text-indent: -9999em; - background: url(../images/content-header-tabs-sprite.png) no-repeat + display: block; + background: url(../images/content-header-tabs-sprite.png) no-repeat; } &.content-treeview a {