Skip to content

Commit

Permalink
Fix padding when text is loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Taewan-P committed Jun 16, 2024
1 parent 300a7db commit 83a3c18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fun OpponentChatBubble(
shape = RoundedCornerShape(32.dp),
colors = cardColor
) {
RichText(modifier = Modifier.padding(top = 24.dp, start = 24.dp, end = 24.dp)) {
RichText(modifier = Modifier.padding(24.dp)) {
BasicMarkdown(astNode = astNode)
}
if (!isLoading) {
Expand Down Expand Up @@ -136,7 +136,7 @@ fun OpponentChatBubble(
private fun BrandText(apiType: ApiType) {
Box(
modifier = Modifier
.padding(horizontal = 20.dp, vertical = 16.dp)
.padding(start = 24.dp, end = 24.dp, bottom = 16.dp)
.fillMaxWidth()
) {
Text(
Expand Down

0 comments on commit 83a3c18

Please sign in to comment.