mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +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(
|
||||
modifier = modifier.fillMaxWidth(),
|
||||
horizontalAlignment = Alignment.Start
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
var isExpanded by remember { mutableStateOf(false) }
|
||||
Surface(
|
||||
@ -49,6 +49,7 @@ fun HtmlTextBlock(
|
||||
)
|
||||
HtmlText(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(16.dp)
|
||||
.animateContentSize(),
|
||||
text = description,
|
||||
@ -63,4 +64,4 @@ fun HtmlTextBlock(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user