-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace shortcode modal with dropdown Signed-off-by: brookewp <[email protected]> * Avoid nesting single menu item Signed-off-by: brookewp <[email protected]> * Swap out main dropdown for toolbardropdown Signed-off-by: brookewp <[email protected]> * Update styles Signed-off-by: brookewp <[email protected]> * Add classname prop to refine styles Signed-off-by: brookewp <[email protected]> * Update field popover Signed-off-by: brookewp <[email protected]> * Potential fix for fatal metadata issue Signed-off-by: brookewp <[email protected]> * Correctly provide context to both BlockBindings::get_value and ::execute_query --------- Signed-off-by: brookewp <[email protected]> Co-authored-by: chriszarate <[email protected]>
- Loading branch information
1 parent
d2f7239
commit 64af67d
Showing
14 changed files
with
421 additions
and
297 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
49 changes: 49 additions & 0 deletions
49
src/blocks/remote-data-container/components/field-shortcode/FieldShortcode.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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
.rdb-field-shortcode_dropdown, | ||
.remote-data-blocks-field-shortcode-dropdown { | ||
|
||
.components-popover__content { | ||
width: unset; | ||
min-width: 160px; | ||
max-width: 320px; | ||
} | ||
} | ||
|
||
.rdb-field-shortcode_dropdown { | ||
|
||
.components-toolbar-group { | ||
display: flex; | ||
flex-direction: column; | ||
border-right: none; | ||
|
||
.components-dropdown-menu { | ||
|
||
.components-dropdown-menu__toggle { | ||
display: flex; | ||
flex-direction: row-reverse; | ||
justify-content: space-between; | ||
width: 100%; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.remote-data-blocks-inline-field { | ||
|
||
span.components-menu-item__item { | ||
width: 100%; | ||
|
||
.remote-data-blocks-inline-field-choice { | ||
|
||
width: 100%; | ||
|
||
.components-base-control__field { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
} | ||
|
||
} | ||
} | ||
|
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
Oops, something went wrong.