Skip to content

Commit

Permalink
Merge pull request #81 from Codeinwp/Misc-adjustments
Browse files Browse the repository at this point in the history
Misc adjustments / px padding replacement
  • Loading branch information
JohnPixle authored Nov 23, 2023
2 parents 945402e + c393d77 commit 7a94e5d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion assets/css/src/blocks/_post-terms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
&.taxonomy-category {

a {
padding: 8px 24px;
padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
margin: 5px;
background-color: var(--wp--preset--color--raft-bg-alt);
border-radius: 25px;
Expand Down
4 changes: 2 additions & 2 deletions assets/css/src/elements/_extends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
border: 0;
box-shadow: none;
font-weight: 600;
padding: 16px 32px;
border-radius: 3px;
padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
border-radius: 5px;
font-size: var(--wp--preset--font-size--normal);
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/src/elements/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ input:read-write:not([type="search"]),
textarea,
select {
width: 100%;
padding: 11px;
padding: 12px;
font-size: var(--wp--preset--font-size--normal);
}

Expand Down
16 changes: 8 additions & 8 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@
},
"spacing": {
"padding": {
"bottom": "16px",
"left": "32px",
"right": "32px",
"top": "16px"
"bottom": "var(--wp--preset--spacing--30)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
Expand All @@ -441,10 +441,10 @@
},
"spacing": {
"padding": {
"bottom": "24px",
"left": "24px",
"right": "24px",
"top": "24px"
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
Expand Down

0 comments on commit 7a94e5d

Please sign in to comment.