Skip to content

Commit

Permalink
added several comments describing what that css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Jul 13, 2023
1 parent d78fc69 commit c084a1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/manage/Blocks/Accordion/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
padding: @itemVerticalPadding @itemHorizontalPadding;
margin: 0;
}

// block chooser hover items don't have a bg color change, title block had a hover bg color
.title {
background: none;
}
Expand Down Expand Up @@ -142,6 +142,7 @@
}
}

// with z-index: -1 you don't get the hover and focused border for block child section
.block .block:not(.inner)::before {
z-index: 0;
}
Expand Down

0 comments on commit c084a1f

Please sign in to comment.