mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
fix(editor): set proper line height
Currently, the `line-height` inherits from `body` where it is set to `1`. This lead to very tight leading, which makes the text inside of the editor hard to read. Proposed solution: Set `line-height` to `1.5`.
This commit is contained in:
parent
8924128465
commit
c959709011
@ -224,7 +224,7 @@ export const EditorStylesContainer = styled.div`
|
||||
margin: 0;
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
line-height: inherit;
|
||||
line-height: 1.5;
|
||||
color: inherit;
|
||||
/* z-index: 2; */
|
||||
position: relative;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user