[Cleanup] Address FIXMES relating to cached HTML

Change-Id: I6f5e97dde1f774e741a4236d1f6b49ad146cc236
This commit is contained in:
Jon Robson 2022-11-15 11:34:12 -08:00 committed by Jdlrobson
parent b6b1de1083
commit f31f0bbf50
5 changed files with 5 additions and 18 deletions

View file

@ -1,6 +1,4 @@
// FIXME: Remove .vector-feature-article-tools-disabled after cache expired.
.client-nojs,
.vector-feature-article-tools-disabled,
.vector-feature-page-tools-disabled {
& .vector-pinnable-header {
display: none;

View file

@ -52,9 +52,7 @@
/**
* Horizontal links menu - logged in and logged out.
*/
// FIXME: vector-user-menu-overflow for cached HTML only.
.vector-user-links .mw-portlet-vector-user-menu-overflow,
.vector-user-menu-overflow {
.vector-user-links .mw-portlet-vector-user-menu-overflow {
.vector-feature-visual-enhancement-next-enabled & {
margin-right: 8px;
}

View file

@ -64,11 +64,8 @@
max-width: @max-width-content-container;
}
// For container logic specific to special pages and history pages.
// FIXME: Remove `.skin-vector-disable-max-width` when caching no longer an issue.
.vector-feature-limited-width-disabled &,
.vector-feature-limited-width-content-disabled &,
.skin-vector-disable-max-width & {
.vector-feature-limited-width-content-disabled & {
// Allow the max-width of content on history/special pages to be wider than
// the max-width of content on article pages.
// Note, we don't disable the max-width on .vector-page-toolbar-container intentionally
@ -117,10 +114,8 @@
'toolbar columnEnd'
'content columnEnd';
// FIXME: Remove `.skin-vector-disable-max-width` when caching no longer an issue.
.vector-feature-limited-width-disabled&,
.vector-feature-limited-width-content-disabled&,
.skin-vector-disable-max-width& {
.vector-feature-limited-width-content-disabled& {
grid-template-columns: ~'1fr min-content';
}

View file

@ -126,9 +126,7 @@ body {
background-color: @background-color-page-container;
box-sizing: border-box;
// FIXME: Remove `.skin-vector-disable-max-width` when caching no longer an issue.
.vector-feature-limited-width-disabled &,
.skin-vector-disable-max-width & {
.vector-feature-limited-width-disabled & {
max-width: none;
}

View file

@ -7,9 +7,7 @@
}
// Even if the editing form is max-width, the preview should be constrained.
// FIXME: Remove `.skin-vector-disable-max-width` when caching no longer an issue.
.vector-feature-limited-width-disabled #wikiPreview,
.skin-vector-disable-max-width #wikiPreview {
.vector-feature-limited-width-disabled #wikiPreview {
max-width: @max-width-content-container;
margin: auto;
}