-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 Fix settings-container alignment & width
- Loading branch information
1 parent
7274623
commit 60f54d5
Showing
3 changed files
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 19 additions & 21 deletions
40
modules/ppcp-settings/resources/css/components/reusable-components/_settings-wrapper.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
.ppcp-r { | ||
&-container { | ||
max-width: var(--max-container-width, none); | ||
margin-right: auto; | ||
} | ||
.ppcp-r-container { | ||
max-width: var(--max-container-width, none); | ||
margin: 0 auto 0 35px; | ||
} | ||
|
||
&-inner-container { | ||
margin-left: auto; | ||
margin-right: auto; | ||
padding: 0 16px 48px; | ||
box-sizing: content-box; | ||
.ppcp-r-inner-container { | ||
margin-left: auto; | ||
margin-right: auto; | ||
padding: 0 16px 48px; | ||
box-sizing: content-box; | ||
|
||
@media screen and (max-width: 480px) { | ||
padding-bottom: 36px; | ||
} | ||
@media screen and (max-width: 480px) { | ||
padding-bottom: 36px; | ||
} | ||
} | ||
|
||
&-settings { | ||
> * { | ||
margin-bottom: $card-vertical-gap; | ||
} | ||
.ppcp-r-settings { | ||
> * { | ||
margin-bottom: $card-vertical-gap; | ||
} | ||
|
||
> *:not(:last-child) { | ||
padding-bottom: $card-vertical-gap; | ||
border-bottom: 1px solid $color-gray-200; | ||
} | ||
> *:not(:last-child) { | ||
padding-bottom: $card-vertical-gap; | ||
border-bottom: 1px solid $color-gray-200; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters