Open rovkinmax opened 2 years ago
Workaround for this - you can add container for your previews with an elevation:
fun CustomPreview(
content: @Composable () -> Unit
) {
CustomTheme() {
Surface(
color = CustomTheme.colors.background,
contentColor = CustomTheme.colors.onBackground,
content = content,
elevation = 8.dp
)
}
}
For some reasons list items has they own padding and when I add it in to Showkase, browser add additional padding and for designers and me final view has wrong spaces.
For example, on this pic space is too large