Technical: Cached HTML cleanup

Change-Id: I6638a816fba3002289236f50d3d0e976f478affe
This commit is contained in:
bwang 2022-10-03 16:22:48 -05:00 committed by Jdlrobson
parent daaa5667a4
commit d0775a2af9
3 changed files with 0 additions and 13 deletions

View file

@ -329,9 +329,6 @@ module.exports = function tableOfContents( props ) {
*/
function bindCollapseToggleListeners() {
// Initialize toc collapsed status
// FIXME: Remove after I17f2699fec113d92b3f0f223c357654f52eb7eb3 has been in prod for a week
document.body.classList.add( TOC_NOT_COLLAPSED_CLASS );
const showHideTocElement = document.querySelectorAll( '#sidebar-toc-label button' );
showHideTocElement.forEach( function ( btn ) {
btn.addEventListener( 'click', () => {

View file

@ -15,9 +15,6 @@
}
/* focus and hover have outlines. Text underline interferes with bottom border */
/* FIXME: Remove 2 not selectors when cache has cleared for Ie2ffa5c3ecf270c1bb1f315937023ae7ace5ed30 */
.mw-list-item a:not( .mw-ui-icon ):focus,
.mw-list-item a:not( .mw-ui-icon ):hover,
.mw-list-item.vector-tab-noicon a:focus,
.mw-list-item.vector-tab-noicon a:hover {
text-decoration: none;
@ -40,8 +37,6 @@
* Tab list item appearance. Applies to both <li>'s inside .vector-menu-tabs
* and dropdown menus inside the article toolbar
*/
// FIXME: Remove the body selector once Ie2ffa5c3ecf270c1bb1f315937023ae7ace5ed30 is in production
/* for cached HTML */ body:not( .vector-feature-visual-enhancement-next-enabled ) .vector-menu-tabs .mw-list-item,
.vector-menu-tabs .mw-list-item.vector-tab-noicon,
.mw-article-toolbar-container .vector-menu-dropdown {
margin: 0 @padding-horizontal-tabs;
@ -75,10 +70,7 @@
font-size: inherit;
}
/* FIXME: Remove cached HTML selector (> a:not( .mw-ui-icon ))
when Ie2ffa5c3ecf270c1bb1f315937023ae7ace5ed30 is in production */
&.vector-tab-noicon > a,
& > a:not( .mw-ui-icon ),
.vector-menu-heading {
// Top & bottom padding to increase clickable area.
padding: 18px 0 7px 0;

View file

@ -66,8 +66,6 @@
/**
* Horizontal links menu - logged in and logged out.
*/
// TODO: Remove vector-user-menu-more after I371bb11903d8cdd8f0da89266fcf549050c0da8c has been in prod for a week
.vector-user-menu-more,
.vector-user-menu-overflow {
.vector-menu-content-list {
display: flex;