Skip to content

Commit

Permalink
Improve Switch padding
Browse files Browse the repository at this point in the history
  • Loading branch information
yasanglass committed Mar 10, 2024
1 parent 21aef43 commit b5ba2ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public fun Switch(
text = title,
color = ConcreteTheme.colors.content.major,
fontSize = 16.sp,
modifier = Modifier.padding(vertical = 1.grid)
)
},
description = description?.let {
Expand All @@ -53,6 +54,7 @@ public fun Switch(
text = it,
color = ConcreteTheme.colors.content.minor,
fontSize = 14.sp,
modifier = Modifier.padding(bottom = 1.grid)
)
}
},
Expand Down

0 comments on commit b5ba2ee

Please sign in to comment.