fix: Unable to click block action button on full width editor

closes #5444
This commit is contained in:
Tom Moor
2023-06-19 17:27:34 -04:00
parent 51ed458ab2
commit cef048572a
3 changed files with 32 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
/* eslint-disable no-irregular-whitespace */
import { darken, lighten, transparentize } from "polished";
import styled, { DefaultTheme } from "styled-components";
import depths from "../../styles/depths";
export type Props = {
rtl: boolean;
@@ -501,7 +500,6 @@ h6:not(.placeholder):before {
.heading-actions {
opacity: 0;
z-index: ${depths.editorHeadingActions};
background: ${props.theme.background};
margin-${props.rtl ? "right" : "left"}: -26px;
flex-direction: ${props.rtl ? "row-reverse" : "row"};

View File

@@ -1,7 +1,6 @@
const depths = {
header: 800,
sidebar: 900,
editorHeadingActions: 920,
editorToolbar: 925,
hoverPreview: 950,
// Note: editor lightbox is z-index 999