Merge pull request #1347 from vector-im/jonny/fix-placeholder-overflow
[Rich text editor] Fix placeholder spilling onto multiple lines
This commit is contained in:
commit
f5275152f9
2 changed files with 3 additions and 0 deletions
1
changelog.d/1347.bugfix
Normal file
1
changelog.d/1347.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
[Rich text editor] Fix placeholder spilling onto multiple lines
|
||||||
|
|
@ -270,6 +270,8 @@ private fun TextInput(
|
||||||
style = defaultTypography.copy(
|
style = defaultTypography.copy(
|
||||||
color = ElementTheme.colors.textSecondary,
|
color = ElementTheme.colors.textSecondary,
|
||||||
),
|
),
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue