[Rt-commit] rt branch, 4.6/fix-menu-overflows, updated. rt-4.4.4-535-g3bdb57d494

Blaine Motsinger blaine at bestpractical.com
Tue Dec 17 13:00:47 EST 2019


The branch, 4.6/fix-menu-overflows has been updated
       via  3bdb57d4949573d705940d3b0a211c54c80d3800 (commit)
      from  657d623152f037c2421802d031bfc10b8f268a91 (commit)

Summary of changes:
 share/static/css/elevator-light/boxes.css  |  2 +-
 share/static/css/elevator-light/layout.css | 31 ++++++++++++------------------
 share/static/css/elevator-light/nav.css    |  7 ++-----
 3 files changed, 15 insertions(+), 25 deletions(-)

- Log -----------------------------------------------------------------
commit 3bdb57d4949573d705940d3b0a211c54c80d3800
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Tue Dec 17 10:25:29 2019 -0600

    Update layout to support wrapping subject

diff --git a/share/static/css/elevator-light/boxes.css b/share/static/css/elevator-light/boxes.css
index 27c070afc0..bb89d3660a 100644
--- a/share/static/css/elevator-light/boxes.css
+++ b/share/static/css/elevator-light/boxes.css
@@ -1,5 +1,5 @@
 .titlebox {
-    margin-top: 1em;
+    margin-top: 1.5em;
     margin-bottom: 2em;
     padding: 5px;
 }
diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index 6d7f17ab42..658c2b8de7 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -12,11 +12,14 @@ div#rt-header-container {
 
 div#body {
     padding: 0 2.5em;
-    margin-top: 4em;
+    margin-top: 1.75em;
     margin-right: 0;
     margin-bottom: 0em;
     background: #fff;
     z-index: 1;
+    float: left;
+    clear: both;
+    width: 100%;
 }
 
 @media (max-width: 800px) {
@@ -128,31 +131,21 @@ div#quickbar {
 }
 
 div#header {
-    position: absolute;
-    top: 3.5em;
+    position: relative;
+    top: 2.4em;
     left: 0;
     right: 0;
-    height: 3.2em;
-    border-bottom-color: #547CCC;
-    border-bottom-width: 2px;
-    border-bottom-style: solid;
+    float: left;
+    max-width: 60%;
 }
 
 div#header h1 {
-    position: absolute;
+    position: relative;
     left: 2em;
-    top: 0.5em;
-    height: 1.4em;
+    display: inline-block;
     font-size: 1.4em;
-    white-space: nowrap;
-    overflow: hidden;
-    text-overflow: ellipsis;
-}
-
- at media (max-width: 1060px) {
-    div#header h1 {
-        right: 13%;
-    }
+    white-space: break-spaces;
+    overflow: visible;
 }
 
 h1 {
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
index 9319093cb3..3734a47031 100644
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
@@ -92,8 +92,9 @@ ul.sf-menu li {
 
 #page-navigation {
     position: absolute;
-    top: 3.6em;
+    top: 3.9em;
     right: 2em;
+    float: right;
 }
 
 .page-nav-shadow {
@@ -374,10 +375,6 @@ ul.toplevel.sf-menu > li > ul > li a.sf-with-ul:after {
         margin-left: 0;
     }
 
-    div#header h1 {
-        right: 10em;
-    }
-
     #topactions {
         right: 18em;
     }

-----------------------------------------------------------------------


More information about the rt-commit mailing list