mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
[Cleanup] Address FIXMES relating to cached HTML
Change-Id: I6f5e97dde1f774e741a4236d1f6b49ad146cc236
This commit is contained in:
parent
b6b1de1083
commit
f31f0bbf50
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue