Skip to content

Commit e3c1993

Browse files
committed
Styling adjustments to subscribe button in UCP
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent c706294 commit e3c1993

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

styles/all/theme/phpbb_wpn.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
display: none;
1313
}
1414

15+
.wpn.button {
16+
margin: 0 0 8px;
17+
}
18+
1519
.wpn-notification-dropdown-footer {
1620
font-size: 12px;
1721
white-space: nowrap;
@@ -41,3 +45,9 @@
4145
font-size: 24px;
4246
}
4347
}
48+
49+
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
50+
.wpn.button {
51+
margin-top: 8px;
52+
}
53+
}

styles/prosilver/template/event/ucp_notifications_content_before.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<dd>
88
<input id="subscribe_webpush" type="submit" name="subscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_ENABLE') }}" class="wpn button1 button button-form" data-l-err="{{ lang('INFORMATION') }}" data-l-msg="{{ lang('NOTIFY_WEBPUSH_DENIED') }}">
99
<input id="unsubscribe_webpush" type="submit" name="unsubscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_DISABLE') }}" class="wpn button1 button button-form hidden">
10-
<br><br><span>{{ lang('NOTIFY_WEBPUSH_ENABLE_EXPLAIN') }}</span>
10+
<br><span>{{ lang('NOTIFY_WEBPUSH_ENABLE_EXPLAIN') }}</span>
1111
</dd>
1212
</dl>
1313
</fieldset>

0 commit comments

Comments
 (0)