mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 11:44:05 +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={{
|
||||
pointerEvents: 'none',
|
||||
display: 'inline-block',
|
||||
verticalAlign: 'text-top',
|
||||
width: '0',
|
||||
maxWidth: '100%',
|
||||
whiteSpace: 'nowrap',
|
||||
|
Reference in New Issue
Block a user