From bc612dfa8ad885ee309f79bd1ca53c41ac6243a1 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 18 Jul 2023 18:26:03 +0200 Subject: [PATCH] Change bubble width ration to 85% (#904) --- .../messages/impl/timeline/components/MessageEventBubble.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessageEventBubble.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessageEventBubble.kt index 339b6a3415..932dce913c 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessageEventBubble.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessageEventBubble.kt @@ -51,8 +51,8 @@ import io.element.android.libraries.theme.ElementTheme private val BUBBLE_RADIUS = 12.dp private val BUBBLE_INCOMING_OFFSET = 16.dp -// Design says: The maximum width of a bubble is still 3/4 of the screen width -private const val BUBBLE_WIDTH_RATIO = 0.75f +// Design says: The maximum width of a bubble is still 3/4 of the screen width. But try with 85% now. +private const val BUBBLE_WIDTH_RATIO = 0.85f @OptIn(ExperimentalFoundationApi::class) @Composable