Sfoglia il codice sorgente

AltoFocus: Fix sub-menu menu-item widths

Allan Cole 7 anni fa
parent
commit
f60f96e001
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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
 			// jscs:enable
 
 
 			// Update screen reader text
 			// 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;
     padding: 0;
     position: relative;
     position: relative;
     text-align: left;
     text-align: left;
+    width: 100%;
     z-index: 1;
     z-index: 1;
   }
   }
   .top-navigation div > ul > li {
   .top-navigation div > ul > li {