From: Jean-Philippe Lang Date: Sat, 19 Mar 2016 09:13:47 +0000 (+0000) Subject: Put project breadcrumbs in page_header_title on separate line and use ellipsis if... X-Git-Tag: 3.3.0~188 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=022c7e032df05f433d602fb2ad4229ec69e60325;p=redmine.git Put project breadcrumbs in page_header_title on separate line and use ellipsis if it's still too long (#21947). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15257 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 9122f90c8..3f8be1ed3 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -28,7 +28,8 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;} #header a {color:#f8f8f8;} -#header h1 a.ancestor { font-size: 80%; } +#header h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} +#header h1 .breadcrumbs { display:block; font-size: .5em; } #quick-search {float:right;} #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px; width: 100%;}