Make preferences button in auto-subscription popup more obviously clickable

Bug: T295946
Change-Id: I3d30a91a2f4497bd5e222a507bdba853e8269162
This commit is contained in:
Bartosz Dziewoński 2021-12-16 00:43:56 +01:00
parent d2443f7785
commit a89d6ca445
3 changed files with 7 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"discussiontools": "Discussion tools", "discussiontools": "Discussion tools",
"discussiontools-autotopicsubpopup-body": "You will receive a notification when someone posts a new comment in this discussion. You can adjust your notifications settings in preferences.", "discussiontools-autotopicsubpopup-body": "You will receive a notification when someone posts a new comment in this discussion. You can adjust your notifications settings in preferences.",
"discussiontools-autotopicsubpopup-dismiss": "Okay, I got it", "discussiontools-autotopicsubpopup-dismiss": "Okay, I got it",
"discussiontools-autotopicsubpopup-preferences": "Preferences", "discussiontools-autotopicsubpopup-preferences": "Edit preferences",
"discussiontools-autotopicsubpopup-title": "You have been subscribed", "discussiontools-autotopicsubpopup-title": "You have been subscribed",
"discussiontools-defaultsummary-reply": "Reply", "discussiontools-defaultsummary-reply": "Reply",
"discussiontools-desc": "Tools to enhance discussion pages.", "discussiontools-desc": "Tools to enhance discussion pages.",

View file

@ -356,6 +356,7 @@ function maybeShowFirstTimeAutoTopicSubPopup() {
.append( new OO.ui.ButtonWidget( { .append( new OO.ui.ButtonWidget( {
label: mw.msg( 'discussiontools-autotopicsubpopup-preferences' ), label: mw.msg( 'discussiontools-autotopicsubpopup-preferences' ),
href: mw.util.getUrl( 'Special:Preferences#mw-prefsection-editing-discussion' ), href: mw.util.getUrl( 'Special:Preferences#mw-prefsection-editing-discussion' ),
flags: [ 'progressive' ],
framed: false framed: false
} ).$element ) } ).$element )
); );

View file

@ -276,17 +276,20 @@ span[ data-mw-comment-start ] {
top: 0; top: 0;
right: 0; right: 0;
height: 100%; height: 100%;
z-index: 1;
} }
&-body { &-body {
margin-bottom: 1em; margin-bottom: 1em;
margin-top: 1em; margin-top: 1em;
margin-right: 200px;
} }
&-title, &-title,
&-body,
&-actions { &-actions {
margin-right: 200px; margin-right: 150px;
position: relative;
z-index: 2;
} }
} }