Changeset 11263 for trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss
- Timestamp:
- 12/02/2016 09:42:18 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss
r11132 r11263 236 236 */ 237 237 238 238 // A conflict between BP's body.no-js being removed only 239 // when the DOM is fully loaded & Twentysixteens hardcoded 240 // class on the html el & scripting in head at start of DOM 241 // causes mobile menu to stay opened too long. 242 // This ruleset hides menu if html.js (2016 JS has kicked in) but BP still 243 // rendering body.no-js before it's own JS removal kicks in. 244 // See trac ticket https://buddypress.trac.wordpress.org/ticket/7314 245 246 /** 247 * Corrective measure to deal with 2016 / BP handling of no-js 248 * classes - hide menu if BP still showing 'no-js'. 249 */ 250 251 @media screen and (max-width: 905px) { 252 253 html.js { 254 255 body.no-js { 256 257 .site-header-menu { 258 display: none; 259 } 260 } 261 } 262 } 239 263 240 264 .buddypress {
Note: See TracChangeset
for help on using the changeset viewer.