fix(article): align the back arrow with the title in compact mode
In the two-pane compact title bar the arrow sat slightly above the first title line; offset it down to optically center it.
This commit is contained in:
1 parent
cea46c0955
commit
5b6bb08248
1 file changed
+1
-1
@@ -296,7 +296,7 @@ fun ArticleTitleBar(
|
||||
val titleLineHeight = with(LocalDensity.current) {
|
||||
MaterialTheme.typography.dictionaryTitleLarge.lineHeight.toDp()
|
||||
}
|
||||
Modifier.offset(y = (titleLineHeight - 48.dp) / 2)
|
||||
Modifier.offset(y = (titleLineHeight - 48.dp) / 2 + 3.dp)
|
||||
} else {
|
||||
Modifier
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user