Skip to content

Commit 3a8218c

Browse files
committed
fix(ui): pad Node Details content above the bottom nav bar
The scroll column ended at 16.dp, so the last card sat behind the nav bar now that the bar is visible on this screen. Use the same 88.dp bottom clearance as the other nav-visible screens.
1 parent 8f9986e commit 3a8218c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/java/network/columba/app/ui/screens/AnnounceDetailScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ fun AnnounceDetailScreen(
201201
.fillMaxSize()
202202
.padding(paddingValues)
203203
.verticalScroll(rememberScrollState())
204-
.padding(16.dp),
204+
// The outer bottom nav bar is visible on this screen, so
205+
// clear its height (same 88.dp convention as other
206+
// nav-visible screens) for the last card.
207+
.padding(start = 16.dp, end = 16.dp, top = 16.dp, bottom = 88.dp),
205208
verticalArrangement = Arrangement.spacedBy(16.dp),
206209
) {
207210
// Identicon header

0 commit comments

Comments
 (0)