mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-23 18:29:49 +00:00
Adjust alignment of searchbox in header
Per T305069#7832390, left edge of searchbox input should line up with the left edge of the main content area. Bug: T305069 Change-Id: I737c3cac09ae18c598164b232b6461f72451b3e3
This commit is contained in:
parent
3df381be52
commit
5800b80596
|
@ -8,10 +8,10 @@
|
|||
height: 100%;
|
||||
// Center vertically.
|
||||
align-items: center;
|
||||
// Hamburger menu icon with padding (22px + 12px = 46px) + right margin (12px) + logo (226px @ 16) + space between
|
||||
// logo and searchbox (24px) = 296px which equals the sum of widths of sidebar elements (i.e. TOC) when toggled.
|
||||
// Hamburger menu icon with padding (22px + 12px = 46px) + right margin (12px) + logo (222px @ 16) + space between
|
||||
// logo and searchbox (28px) = 296px which equals the sum of widths of sidebar elements (i.e. TOC) when toggled.
|
||||
// 226px @ 16 provides correct spacing between the right edge of logo container + left edge of searchbox input.
|
||||
min-width: 14.125em; // 226px @ 16
|
||||
min-width: 13.875em; // 222px @ 16
|
||||
}
|
||||
|
||||
.mw-logo-icon {
|
||||
|
|
Loading…
Reference in a new issue