Skip to content

Commit

Permalink
Improve scoping of separator class (plone#6010)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe authored May 20, 2024
1 parent 214f63a commit 015658f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/6010.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed separator edit class spilling outside of the block toolbar @JeffersonBledsoe
20 changes: 10 additions & 10 deletions packages/volto/theme/themes/pastanaga/extras/blocks.less
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,16 @@ body.has-toolbar.has-sidebar-collapsed .ui.wrapper > .ui.inner.block.full {
0 2px 4px rgba(0, 0, 0, 0.05);
transform: translate(-50%, 0);

.separator {
position: relative;
top: 5px;
display: inline-block;
height: 24px;
border-right: 1px solid #ddd;
margin: 0 0 4px 4px;
vertical-align: bottom;
}

form {
display: flex;
}
Expand Down Expand Up @@ -591,16 +601,6 @@ body.has-toolbar.has-sidebar-collapsed .ui.wrapper > .ui.inner.block.full {
height: 100%;
}

.separator {
position: relative;
top: 5px;
display: inline-block;
height: 24px;
border-right: 1px solid #ddd;
margin: 0 0 4px 4px;
vertical-align: bottom;
}

// HTML block
.html-editor {
z-index: 1;
Expand Down

0 comments on commit 015658f

Please sign in to comment.