[Rt-commit] rt branch, 4.6/fix-menu-overflows, repushed
Blaine Motsinger
blaine at bestpractical.com
Thu Dec 26 11:34:26 EST 2019
The branch 4.6/fix-menu-overflows was deleted and repushed:
was f9faba7c151071c2a8231156bf4ca35d7cc7af48
now 6395fa6b93e847f134a971f83d3bf23f9ac7760c
1: f3bc81d61b = 1: f3bc81d61b Fix overflow for main and page navigation
2: f9faba7c15 ! 2: 6395fa6b93 Update layout to support wrapping subject
@@ -7,6 +7,19 @@
elements in the theme need to respond relative to the size of the
subject, so needed to be adjusted for position, padding, and margin
to compensate for the positioning change.
+
+diff --git a/share/html/NoAuth/css/elevator-light/BeforeNav b/share/html/NoAuth/css/elevator-light/BeforeNav
+--- a/share/html/NoAuth/css/elevator-light/BeforeNav
++++ b/share/html/NoAuth/css/elevator-light/BeforeNav
+@@
+
+ // adjustments specific to page-navigation
+ if (menuId === '#page-menu') {
+- availableWidth -= jQuery('#header h1').width() + rebalanceOverflowBuffer;
++ availableWidth -= jQuery('#header h1').width() + jQuery('#header h1').offset().left;
+ }
+
+ availableWidth -= rebalanceOverflowBuffer;
diff --git a/share/static/css/elevator-light/boxes.css b/share/static/css/elevator-light/boxes.css
--- a/share/static/css/elevator-light/boxes.css
@@ -114,3 +127,23 @@
}
.page-nav-shadow {
+@@
+ #topactions form {
+ margin-left: 0;
+ }
+-
+- div#header h1 {
+- right: 10em;
+- }
+ }
+
+ @media (max-width: 600px) {
+@@
+ #topactions input[type="submit"], #topactions input.button {
+ min-width: 2em;
+ }
+-
+- div#header h1 {
+- right: 5em;
+- }
+ }
More information about the rt-commit
mailing list