mediawiki-skins-Vector/resources/skins.vector.styles/components
Bartosz Dziewoński 1d45abb015 Work around sticky-positioned layers disabling subpixel rendering
Adding 'contain: paint' to the TOC container works around the issue.
This property is intended to prevent element's rendering from
affecting other elements, so it makes sense that this works.
https://developer.mozilla.org/en-US/docs/Web/CSS/contain

Because this property also clips the rendering of the element to its
bounding box (similar to 'overflow: hidden'), we need to move some
negative margins to this element from its children, otherwise the TOC
expand/collapse arrows would be cut off.

Bug: T327460
Change-Id: I34f414a99608450882e83c0ff22e64c05dff8807
2023-01-23 21:51:40 +01:00
..
checkboxHack.less styles: Replace deprecated Less .transform() mixin with standard CSS 2022-05-16 23:24:53 +01:00
Dropdown.less Remove extra border that show in a page tools dropdown when a menu is hidden 2023-01-13 20:41:34 +00:00
Footer.less Move horizontal padding from .mw-body to .mw-page-container, improve .mw-page-container styles 2022-10-05 10:30:12 -05:00
Header.less Fix alignment of searchbar by introducing CSS grid to the header on viewports greater than desktop-wide 2023-01-10 11:34:27 -06:00
Icon.less Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
LanguageDropdown.less Update language dropdown for pages not supported in other languages 2023-01-06 16:40:36 +00:00
Logo.less Update header spacing to match spec 2022-12-20 17:58:54 -06:00
MainMenu.less Misc page tools visual fixes 2023-01-12 15:42:47 -06:00
MainMenuGroup.less Update dropdown and pinnable element styles to match spec 2023-01-04 11:24:55 -05:00
Menu.less [Technical] Remove common Menu styles 2022-11-08 14:31:14 -06:00
MenuTabs.less Add default width and max width to dropdowns in modern Vector, preserve existing styles for legacy Vector 2023-01-12 11:45:13 -06:00
PageTitlebar.less Ensure TOC in sticky header has correct margin, refactor TOC styles to be more consistent 2023-01-11 15:47:09 -06:00
PageToolbar.less Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
PageTools.less Fix alignment/spacing of grid column items 2023-01-10 11:36:53 -06:00
PinnableElement.less Followup to 4d1c0b89 Override PinnableElement behaviour at low resolutions. 2023-01-13 17:18:20 -05:00
PinnableHeader.less [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
SearchBoxLoader.less search: Fix loader alignment with search input 2022-10-28 16:05:38 +00:00
StickyHeader.less [Clean up] Remove unnecessary container and CSS in sticky header 2023-01-13 20:11:21 +00:00
TableOfContents.less [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
TableOfContentsPinned.less Work around sticky-positioned layers disabling subpixel rendering 2023-01-23 21:51:40 +01:00
TableOfContentsUnpinned.less [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
TabWatchstarLink.less Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
UserLinks.less Add default width and max width to dropdowns in modern Vector, preserve existing styles for legacy Vector 2023-01-12 11:45:13 -06:00
VueEnhancedSearchBox.less Scale server-rendered search box with browser font size 2023-01-13 14:36:02 -07:00