From 562b48d6894d293f40c3bdea3edd1f00be56917f Mon Sep 17 00:00:00 2001 From: David Perez Date: Wed, 22 Oct 2025 16:09:28 -0500 Subject: [PATCH] Fix TopAppBar height for multiline titles (#6069) --- .../ui/platform/components/appbar/BitwardenTopAppBar.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/main/kotlin/com/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt b/ui/src/main/kotlin/com/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt index f4dba24758..db79414dce 100644 --- a/ui/src/main/kotlin/com/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt +++ b/ui/src/main/kotlin/com/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt @@ -143,14 +143,12 @@ fun BitwardenTopAppBar( scrollBehavior = scrollBehavior, navigationIcon = navigationIconContent, collapsedHeight = minimumHeight, - expandedHeight = 96.dp, title = { - // The height of the component is controlled and will only allow for 1 extra row, - // making adding any arguments for softWrap and minLines superfluous. Text( text = title, style = BitwardenTheme.typography.titleLarge, overflow = TextOverflow.Ellipsis, + maxLines = 2, modifier = Modifier.testTag(tag = "PageTitleLabel"), ) },