Explorar o código

AltoFocus: Fix sub-menu menu-item widths

Allan Cole %!s(int64=7) %!d(string=hai) anos
pai
achega
f60f96e001
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 1
      altofocus/assets/js/navigation.js
  2. 1 0
      altofocus/style.css

+ 1 - 1
altofocus/assets/js/navigation.js

@@ -65,7 +65,7 @@
 			// jscs:enable
 
 			// Update screen reader text
-			screenReaderSpan.text( altoFocusScreenReaderText.text() === altoFocusScreenReaderText.expand ? altoFocusScreenReaderText.collapse : altoFocusScreenReaderText.expand );
+			screenReaderSpan.text( screenReaderSpan.text() === altoFocusScreenReaderText.expand ? altoFocusScreenReaderText.collapse : altoFocusScreenReaderText.expand );
 
 		} );
 

+ 1 - 0
altofocus/style.css

@@ -1763,6 +1763,7 @@ table th, table td {
     padding: 0;
     position: relative;
     text-align: left;
+    width: 100%;
     z-index: 1;
   }
   .top-navigation div > ul > li {