mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-14 19:35:38 +00:00
Remove some px
font-size overrides on topic metadata and buttons
After T314714, they are no longer needed for Vector, MonoBook etc. – the elements will just use the normal body font size. This changes the font size slightly on some skins (MonoBook, Timeless), but I think that's okay. We still want to customize the font-size for mobile (Minerva), and we can do that with `em` now. Bug: T325104 Change-Id: I3fab8588b1b0e3a43aac4c32a3610f64fb3d3fb3
This commit is contained in:
parent
87d67d4a1c
commit
f292c703ca
|
@ -277,11 +277,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
body:not( .skin-minerva ) & {
|
||||
// stylelint-disable-next-line declaration-property-unit-disallowed-list
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// Directional properties must be based on content direction.
|
||||
body:not( .skin-minerva ) .mw-content-ltr &,
|
||||
body:not( .skin-minerva ) .mw-content-rtl .mw-content-ltr & {
|
||||
|
@ -431,8 +426,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||
}
|
||||
|
||||
&-bar {
|
||||
// stylelint-disable-next-line declaration-property-unit-disallowed-list
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
// Use interface language direction (auto-flipped for RTL)
|
||||
direction: ltr;
|
||||
|
@ -504,6 +497,11 @@ h1, h2, h3, h4, h5, h6 {
|
|||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
&-bar,
|
||||
&-ellipsisButton {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
// stylelint-disable-next-line selector-class-pattern
|
||||
> .indicator,
|
||||
&-ellipsisButton {
|
||||
|
@ -538,8 +536,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||
|
||||
&-ellipsisButton {
|
||||
display: inline-block;
|
||||
// stylelint-disable-next-line declaration-property-unit-disallowed-list
|
||||
font-size: 14px;
|
||||
margin-right: -5px;
|
||||
// Fix height so MenuWidget appears in the correct place with wrapped text (T311558)
|
||||
height: 32px;
|
||||
|
@ -586,13 +582,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||
border-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&.skin-monobook .ext-discussiontools-init-section {
|
||||
&-bar {
|
||||
// stylelint-disable-next-line declaration-property-unit-disallowed-list
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ext-discussiontools-emptystate {
|
||||
|
|
Loading…
Reference in a new issue