Skip to content

Commit

Permalink
perf: increase app item padding
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Jun 14, 2024
1 parent eaa7ee0 commit 0ad0e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/li/songe/gkd/ui/style/Padding.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import androidx.compose.ui.unit.dp

fun Modifier.itemPadding() = this then padding(16.dp, 12.dp)

fun Modifier.appItemPadding() = this then padding(10.dp, 8.dp)
fun Modifier.appItemPadding() = this then padding(10.dp, 10.dp)

fun Modifier.menuPadding() =
this then padding(MenuDefaults.DropdownMenuItemContentPadding).padding(vertical = 8.dp)

0 comments on commit 0ad0e1d

Please sign in to comment.