Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585035
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less
index 3b63f6f59c7..056090d783a 100644
--- a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less
+++ b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less
@@ -4,30 +4,28 @@
.mw-rcfilters-ui-filterMenuHeaderWidget {
&-title {
- display: inline-block;
font-size: 1.2em;
- padding: 0.75em 0 0.75em 0.5em;
color: @color-subtle;
}
- &-helpIcon {
- position: absolute;
- top: 50%;
- transform: translateY( -50% );
- }
-
&-header {
background-color: @background-color-neutral-subtle;
border-bottom: @border-subtle;
- &-highlight {
- min-width: 1em;
+ .mw-rcfilters-ui-row {
+ justify-content: space-between;
+ padding: (8 / @font-size-system-ui / @font-size-vector);
// Using the same padding that the filter item
- // uses, so the button is aligned with the highlight
+ // uses, so the highlight button is aligned with the highlight
// buttons for the filters
+ gap: (12 / @font-size-system-ui / @font-size-vector);
padding-right: (12 / @font-size-system-ui / @font-size-vector);
- // Set the left-padding here, so that the invert buttons have the same padding
- padding-left: (12 / @font-size-system-ui / @font-size-vector);
+ padding-left: 0;
+ }
+
+ // One of these buttons is always hidden, so hide the gap visually
+ &-invert + &-invert {
+ margin-left: (-12 / @font-size-system-ui / @font-size-vector);
}
&-back {
@@ -38,8 +36,17 @@
}
&-title {
- position: relative;
+ display: flex;
flex-grow: 1;
+ align-items: center;
+ }
+
+ &-highlight,
+ &-invert {
+ .oo-ui-buttonElement > .oo-ui-buttonElement-button {
+ // T356467
+ white-space: normal;
+ }
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:31 AM (13 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227484
Default Alt Text
(1 KB)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment