Skip to content

Commit 36e3a83

Browse files
fix editor width styling
1 parent aa66e0b commit 36e3a83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

admin/src/components/ReactMdEditor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { MediaLib } from "./MediaLib";
1313
import { useField } from "@strapi/strapi/admin";
1414

1515
const Wrapper = styled.div`
16+
flex-basis: 100%;
1617
> div:nth-child(2) {
1718
display: none;
1819
}
@@ -186,7 +187,7 @@ const Editor: FunctionComponent<EditorProps> = ({
186187
}, []);
187188

188189
return (
189-
<Flex gap={4}>
190+
<Flex gap={0} style={{ margin: 0, padding: 0 }}>
190191
<Box>
191192
<Typography variant="pi" fontWeight="bold">
192193
{formatMessage(intlLabel)}

0 commit comments

Comments
 (0)