Skip to content

Commit fa25717

Browse files
Fix padding removal for the layout content element
1 parent 4b4b63e commit fa25717

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

client/my-sites/plugins/style.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,14 +838,18 @@ body .is-section-plugins:has(.is-full-width-layout) {
838838
// Remove layout padding for logged-out full-width layout (covers both actually logged out and logged-in showing logged-out UI)
839839
body .is-section-plugins:has(.plugins-browser.is-full-width-layout.is-logged-out),
840840
body .is-section-plugins:has(.is-plugin-details.is-full-width-layout) {
841-
.layout__content {
842-
padding: 0;
843-
}
844841
.lpc-footer-nav-wrapper,
845842
.lpc-footer-automattic-nav-wrapper {
846843
max-width: 1220px;
847844
}
848845
}
846+
body .is-section-plugins:has(.plugins-browser.is-full-width-layout.is-logged-out) .layout__content{
847+
padding: 0;
848+
}
849+
body .is-section-plugins:has(.is-plugin-details.is-full-width-layout) .layout__content{
850+
padding-block: 0;
851+
}
852+
849853

850854
body.is-section-plugins .is-logged-in {
851855
$full-width-main: "main:not(.hosting-dashboard-layout):not(.hosting-dashboard-layout-column):not(.is-logged-out).plugins-browser.is-full-width-layout";

0 commit comments

Comments
 (0)