Skip to content

Commit

Permalink
Settings: Fix styles to align with rest of wp-admin (#992)
Browse files Browse the repository at this point in the history
* Settings: Fix styles to align with rest of wp-admin

* Limit margin changes to update nag
  • Loading branch information
obenland authored Nov 14, 2024
1 parent 16f0bf4 commit 317dc9b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

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

### Removed

Expand Down
16 changes: 14 additions & 2 deletions assets/css/activitypub-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@

.settings_page_activitypub .notice {
max-width: 800px;
margin: auto;
margin: 0px auto 30px;
margin: 0 auto 30px;
}

.settings_page_activitypub .update-nag {
margin: 25px 20px 15px 22px;
}

.settings_page_activitypub .wrap {
Expand All @@ -20,6 +23,15 @@
border-bottom: 1px solid #dcdcde;
}

.activitypub-settings-header h1 {
display: inline-block;
font-weight: 600;
margin: 0 0.8rem 1rem;
font-size: 23px;
padding: 9px 0 4px;
line-height: 1.3;
}

.activitypub-settings-title-section {
display: flex;
align-items: center;
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ For reasons of data protection, it is not possible to see the followers of other
* Added: Unit tests for the `ActivityPub\Transformer\Post` class
* Improved: Reuse constants once they're defined
* Improved: "FEP-b2b8: Long-form Text" support
* Fixed: do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts.
* Fixed: Do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts.
* Fixed: Proper margins for notices and font size for page title in settings screen.

= 4.1.1 =

Expand Down

0 comments on commit 317dc9b

Please sign in to comment.