Skip to content

Commit 317dc9b

Browse files
authored
Settings: Fix styles to align with rest of wp-admin (#992)
* Settings: Fix styles to align with rest of wp-admin * Limit margin changes to update nag
1 parent 16f0bf4 commit 317dc9b

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
### Fixed
2020

2121
* Do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts.
22+
* Proper margins for notices and font size for page title in settings screen
2223

2324
### Removed
2425

assets/css/activitypub-admin.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55

66
.settings_page_activitypub .notice {
77
max-width: 800px;
8-
margin: auto;
9-
margin: 0px auto 30px;
8+
margin: 0 auto 30px;
9+
}
10+
11+
.settings_page_activitypub .update-nag {
12+
margin: 25px 20px 15px 22px;
1013
}
1114

1215
.settings_page_activitypub .wrap {
@@ -20,6 +23,15 @@
2023
border-bottom: 1px solid #dcdcde;
2124
}
2225

26+
.activitypub-settings-header h1 {
27+
display: inline-block;
28+
font-weight: 600;
29+
margin: 0 0.8rem 1rem;
30+
font-size: 23px;
31+
padding: 9px 0 4px;
32+
line-height: 1.3;
33+
}
34+
2335
.activitypub-settings-title-section {
2436
display: flex;
2537
align-items: center;

readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ For reasons of data protection, it is not possible to see the followers of other
155155
* Added: Unit tests for the `ActivityPub\Transformer\Post` class
156156
* Improved: Reuse constants once they're defined
157157
* Improved: "FEP-b2b8: Long-form Text" support
158-
* Fixed: do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts.
158+
* Fixed: Do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts.
159+
* Fixed: Proper margins for notices and font size for page title in settings screen.
159160

160161
= 4.1.1 =
161162

0 commit comments

Comments
 (0)