From d6b26d8c6a3f8065d21a91ff8799e6a393169a1d Mon Sep 17 00:00:00 2001 From: Jan Schulz-Hofen Date: Thu, 4 Feb 2016 14:23:38 +0800 Subject: [PATCH 2/2] Put project breadcrumbs in page_header_title on separate line and use ellipsis if it's still too long --- public/stylesheets/application.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f7963dd..99cb5aa 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%;} -- 2.4.0