Skip to content

Commit

Permalink
chore(SLB-454): style adjustments for the link results suggestions ou…
Browse files Browse the repository at this point in the history
…tput
  • Loading branch information
chindris committed Oct 27, 2024
1 parent 196322e commit dfa8f61
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions packages/drupal/gutenberg_blocks/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,18 @@ details[open] > summary svg {
.col-start-2 {
grid-column-start: 2;
}


/* Reset a few link input suggestion styles to their gutenberg editor values. */
.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper {
border: 1px solid #cccccc;
font-size: 13px;
}

.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper button.block-editor-link-control__search-item {
padding: 12px 16px;
}

.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper button.block-editor-link-control__search-item:hover {
background-color: #ddd;
}
2 changes: 1 addition & 1 deletion packages/drupal/gutenberg_blocks/js/blocks/teaser-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ registerBlockType<{
attributes;

return (
<div className={'container-wrapper'}>
<div className={'container-wrapper !border-stone-500'}>
<div className={'container-label'}>{__('Teaser list')}</div>
<InspectorControls>
<PanelBody>
Expand Down

0 comments on commit dfa8f61

Please sign in to comment.