mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 03:42:15 +00:00
Fix: Expand button's alignment in HtmlTextBlock
This commit is contained in:
parent
b2bbe1822b
commit
a892829561
@ -35,7 +35,7 @@ fun HtmlTextBlock(
|
|||||||
) {
|
) {
|
||||||
Column(
|
Column(
|
||||||
modifier = modifier.fillMaxWidth(),
|
modifier = modifier.fillMaxWidth(),
|
||||||
horizontalAlignment = Alignment.Start
|
horizontalAlignment = Alignment.CenterHorizontally
|
||||||
) {
|
) {
|
||||||
var isExpanded by remember { mutableStateOf(false) }
|
var isExpanded by remember { mutableStateOf(false) }
|
||||||
Surface(
|
Surface(
|
||||||
@ -49,6 +49,7 @@ fun HtmlTextBlock(
|
|||||||
)
|
)
|
||||||
HtmlText(
|
HtmlText(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
.padding(16.dp)
|
.padding(16.dp)
|
||||||
.animateContentSize(),
|
.animateContentSize(),
|
||||||
text = description,
|
text = description,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user