-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update border support to use ToolsPanel
Update border support to display via progressive disclosure panel Updating border support UI styling for grid layout Update border global styles panel Fix border global style hasValue checks
- Loading branch information
1 parent
0cdf36e
commit ad25333
Showing
5 changed files
with
211 additions
and
106 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
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
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,19 +1,11 @@ | ||
.block-editor-hooks__border-controls { | ||
.block-editor-hooks__border-controls-row { | ||
display: flex; | ||
justify-content: space-between; | ||
|
||
> * { | ||
width: calc(50% - #{ $grid-unit-10 }); | ||
} | ||
.block-editor-block-inspector .block-editor-hooks__border-controls, | ||
.edit-site .components-progressive-disclosure-panel { | ||
.components-unit-control-wrapper, | ||
.components-border-style-control { | ||
grid-column: span 1; | ||
} | ||
|
||
.components-unit-control-wrapper { | ||
margin-bottom: $grid-unit-30; | ||
|
||
&:last-child { | ||
margin-bottom: $grid-unit-10; | ||
} | ||
.components-base-control__field { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
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
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