mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 19:54:02 +02:00
Fix placeholder text alignment (#3724)
Using verticalAlign: text-top was causing a slight height change when entering actual content.
This commit is contained in:
@@ -36,7 +36,6 @@ const Leaf = (props: {
|
|||||||
style={{
|
style={{
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
verticalAlign: 'text-top',
|
|
||||||
width: '0',
|
width: '0',
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
|
Reference in New Issue
Block a user