mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
badd229bab
- Remove unnecessary CSS from old grid styles - Consolidate scrollable indicator styles, delete old styles Bug: T352464 Change-Id: Id33e6d99dba2c680f02b246bbccf26a2aa7e77d9
25 lines
772 B
Plaintext
25 lines
772 B
Plaintext
.vector-pinned-container .vector-pinnable-element {
|
|
// Make the heading border line up with the edge of the text
|
|
// (Whereas in a dropdown, the border lines up with the edge of the dropdown container).
|
|
.vector-pinnable-header,
|
|
.vector-menu-heading,
|
|
.mw-list-item a {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
|
|
.vector-sticky-pinned-container {
|
|
// Add fade indicator.
|
|
.mixin-vector-scrollable-with-fade();
|
|
// Applies styles for making a pinned element sticky
|
|
position: sticky;
|
|
top: 0;
|
|
// Support: Chrome
|
|
// Work around sticky-positioned layers disabling subpixel text rendering (T327460).
|
|
contain: paint;
|
|
// Border-box changes the height calculation.
|
|
box-sizing: border-box;
|
|
max-height: ~'calc( 100vh - @{max-height-bottom-spacing-scroll-indicator} )';
|
|
}
|