Skip to content

Commit

Permalink
Jetpack-mu-wpcom: Fix admin bar reader item padding (#39357)
Browse files Browse the repository at this point in the history
* Remove padding from Reader item and correct Help Center item width.

* changelog
  • Loading branch information
allilevine authored Sep 12, 2024
1 parent 5db2bb3 commit b676e91
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: changed

Remove the extra padding around the admin bar Reader item to match Calypso.
Original file line number Diff line number Diff line change
Expand Up @@ -165,27 +165,38 @@

#wp-admin-bar-reader {
display: block;
width: auto !important;
min-width: 52px;
padding: 0px;

.ab-icon {
.ab-item {
display: flex;
justify-content: center;
padding: 0px 10px;

&:before {
width: 36px;
height: 36px;
margin: 0px;
mask-size: contain;
.ab-icon {
justify-content: center;
padding: 0px;

&:before {
width: 36px;
height: 36px;
margin: 0px;
mask-size: contain;
}
}
}
}

#wp-admin-bar-help-center {
display: block !important;
width: 49px !important;
margin-right: 0 !important;
width: 52px !important;

.ab-item {
display: flex;
justify-content: center;

svg {
position: relative;
}
}
}

#wp-admin-bar-notes {
Expand Down

0 comments on commit b676e91

Please sign in to comment.