[Rt-commit] rt branch, 4.6/fix-subject-overlap, updated. rt-4.4.4-534-ge70ee34c44

Blaine Motsinger blaine at bestpractical.com
Mon Dec 2 20:00:22 EST 2019


The branch, 4.6/fix-subject-overlap has been updated
       via  e70ee34c442f91fd0a86f1792ce57bc7b66be30c (commit)
      from  a9958b12996ee54e62bda2c2fe2c25bbdd27b614 (commit)

Summary of changes:
 share/html/NoAuth/css/elevator-light/BeforeNav | 6 ++++++
 1 file changed, 6 insertions(+)

- Log -----------------------------------------------------------------
commit e70ee34c442f91fd0a86f1792ce57bc7b66be30c
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Mon Dec 2 18:53:19 2019 -0600

    Fix availableWidth overflow for main-navigation
    
    The top actions div was not being included in the availableWidth
    calculation so overflow wasn't happening at the size.

diff --git a/share/html/NoAuth/css/elevator-light/BeforeNav b/share/html/NoAuth/css/elevator-light/BeforeNav
index d5ba87531e..09e9a4a19c 100644
--- a/share/html/NoAuth/css/elevator-light/BeforeNav
+++ b/share/html/NoAuth/css/elevator-light/BeforeNav
@@ -64,9 +64,15 @@ var rebalanceOverflowMenu = function (menuId, overflowId, withLogo) {
     var overflowMenu = jQuery(overflowId);
 
     var availableWidth = jQuery(window).width();
+
+    // account for the logo size
     if (withLogo) {
         availableWidth -= jQuery('#logo').width();
     }
+
+    // account for the top actions menu size
+    availableWidth -= jQuery('#topactions').width();
+
     availableWidth -= rebalanceOverflowBuffer;
 
     // if the menu is too wide for the viewport, move overflow items into

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


More information about the rt-commit mailing list