[Rt-commit] rt branch, master, updated. rt-4.4.4-723-g7611977cd3
? sunnavy
sunnavy at bestpractical.com
Mon Feb 3 16:39:19 EST 2020
The branch, master has been updated
via 7611977cd325f5394f8feb17a2ec9aa0966e228f (commit)
from 3404235ee973d6d462afac93513fb63f983aef5e (commit)
Summary of changes:
share/html/NoAuth/css/elevator-light/BeforeNav | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 7611977cd325f5394f8feb17a2ec9aa0966e228f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Feb 4 05:18:51 2020 +0800
Give page menu a bit more space when ticket subject is long
Thus we can have not-collpased page menu on 1400+px screens
diff --git a/share/html/NoAuth/css/elevator-light/BeforeNav b/share/html/NoAuth/css/elevator-light/BeforeNav
index b0465b4c26..8e51b4c00d 100644
--- a/share/html/NoAuth/css/elevator-light/BeforeNav
+++ b/share/html/NoAuth/css/elevator-light/BeforeNav
@@ -77,10 +77,10 @@ var rebalanceOverflowMenu = function (menuId, overflowId) {
var subjectWidth = jQuery('#header h1').width();
availableWidth -= subjectWidth;
- // in case subject is too long, set page-menu width to 40%
- if (availableWidth < fullWidth * 0.4) {
- availableWidth = fullWidth * 0.4;
- subjectWidth = fullWidth * 0.6;
+ // in case subject is too long, set page-menu width to 50%
+ if (availableWidth < fullWidth * 0.5) {
+ availableWidth = fullWidth * 0.5;
+ subjectWidth = fullWidth * 0.5;
jQuery('#header h1').css('width', subjectWidth);
}
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list