fix: Heading action depth conflict, closes #3558

This commit is contained in:
Tom Moor
2022-07-16 17:58:02 +01:00
parent de18196fd8
commit 0b0a1b0169
2 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
/* eslint-disable no-irregular-whitespace */
import { darken, lighten, transparentize } from "polished";
import styled from "styled-components";
import { depths } from "@shared/styles";
const EditorStyles = styled.div<{
rtl: boolean;
@@ -359,6 +360,7 @@ const EditorStyles = styled.div<{
.heading-actions {
opacity: 0;
z-index: ${depths.editorHeadingActions};
background: ${(props) => props.theme.background};
margin-${(props) => (props.rtl ? "right" : "left")}: -26px;
flex-direction: ${(props) => (props.rtl ? "row-reverse" : "row")};