Center and align the expiry dropdown in watchstar widget

Move the watchlist expiry dropdown list to be aligned in the
centre, and its contents to be left-aligned.

Bug: T261990
Change-Id: I3073618606636c78e6afb5bf19726c7b3973292b
This commit is contained in:
Sam Wilson 2020-09-21 12:57:44 +08:00
parent 1cea342431
commit e9ad028a5b
2 changed files with 9 additions and 1 deletions

View file

@ -226,7 +226,8 @@
],
"mediawiki.notification": [
"skinStyles/mobile.startup/drawers.less",
"skinStyles/mobile.startup/toast.less"
"skinStyles/mobile.startup/toast.less",
"skinStyles/mediawiki.watchstar.widgets.css"
],
"mediawiki.action.edit.styles": [
"skinStyles/mediawiki.action.edit.styles/minerva.less"

View file

@ -0,0 +1,7 @@
.mw-watchstar-WatchlistExpiryWidget .oo-ui-dropdownInputWidget {
text-align: left;
}
.mw-watchstar-WatchlistExpiryWidget .oo-ui-dropdownInputWidget:last-child {
margin: auto;
}