Skip to content

Commit

Permalink
Merge pull request #13 from kitconcept/show-delete-button
Browse files Browse the repository at this point in the history
remove css related to hiding the remove block button inside the grid
  • Loading branch information
jackahl authored Jan 22, 2024
2 parents b3c0a3a + 7759073 commit 8ea7de8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
1 change: 1 addition & 0 deletions news/12.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
remove css related to hiding the remove block button inside the grid @jackahl
26 changes: 0 additions & 26 deletions src/theme/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,6 @@
width: 25%;
}

.ui.basic.button.remove-block-button {
position: absolute;
z-index: 3;
top: 6px;
right: 2px;
display: none;

.icon {
height: 18px !important;
}

.circled {
padding: 8px;
border: 1px solid @greySmoke;
background: @greySnow;

&:hover {
background-color: @greySmoke;
}
}

&:hover {
background-color: transparent !important;
}
}

[class^='block-editor-'].selected .ui.basic.button.remove-block-button,
[class^='block-editor-']:hover .ui.basic.button.remove-block-button {
display: block;
Expand Down

0 comments on commit 8ea7de8

Please sign in to comment.