mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-24 02:39:20 +00:00
Move a max-width Less variable up into variables.less
This makes it accessible elsewhere (such as within WikiEditor; see the dependent patch) without having to include all of screen.less. Bug: T307725 Change-Id: I3fda9886c27fe0b78cf5bd5647d7e497a3aaba0e
This commit is contained in:
parent
dc2b25ac65
commit
bf4d843d97
|
@ -175,5 +175,6 @@
|
|||
// Layout
|
||||
//
|
||||
@max-width-page-container: unit( 1514px / @font-size-browser, em ); // 99.75em @ 16
|
||||
@max-width-content-container: unit( 960px / @font-size-browser, em ); // 60em @ 16
|
||||
@padding-horizontal-page-container: unit( 32px / @font-size-browser, em );
|
||||
@padding-horizontal-page-container-wide: unit( 40px / @font-size-browser, em );
|
||||
|
|
|
@ -27,10 +27,9 @@
|
|||
|
||||
@min-width-page-container--padded: @max-width-page-container + ( 2 * @padding-horizontal-page-container ); // 106.875em
|
||||
|
||||
// Content containers
|
||||
// Content container
|
||||
|
||||
@max-width-workspace-container: unit( 1514px / @font-size-browser, em ); // 99.75em @ 16
|
||||
@max-width-content-container: unit( 960px / @font-size-browser, em ); // 60em @ 16
|
||||
|
||||
// Note this uses variables defined in mediawiki.skin.variables so that VisualEditor can read them
|
||||
// see T259331.
|
||||
|
|
Loading…
Reference in a new issue