Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Dec 30, 2022
1 parent 6dada6b commit 7bdbd31
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SearchBlock/BlockContainer/SlotEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ export default function SlotEditor(props) {
return (
<div className={cx('menu item', { active })}>
<Button
as="a"
icon
compact
basic
color={hasData ? 'red' : null}
onClick={() => setActiveIndex(index)}
>
{label}
</Button>
{active && hasData && (
<Button
as="a"
icon
basic
aria-label="Delete block"
Expand Down
14 changes: 14 additions & 0 deletions src/SearchBlock/edit.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
.aboveSearchblockOverlay {
z-index: @overlayZIndex + 1;
position: relative;

.ui.tabular.menu {
.ui.basic.button {
border: 0px;

&.red {
box-shadow: none !important;
}

&:hover {
box-shadow: none;
}
}
}
}

.searchlib-edit-overlay {
Expand Down

0 comments on commit 7bdbd31

Please sign in to comment.