1
0
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:
Dylan Markow
2020-06-05 13:44:35 -05:00
committed by GitHub
parent 788a8cefdc
commit a5720b289f

View File

@@ -36,7 +36,6 @@ const Leaf = (props: {
style={{
pointerEvents: 'none',
display: 'inline-block',
verticalAlign: 'text-top',
width: '0',
maxWidth: '100%',
whiteSpace: 'nowrap',