2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/28420:Fix 'Customise homepage' title truncate issue

This commit is contained in:
gitstart 2023-01-25 12:16:40 +05:30 committed by mergify[bot]
parent fb8dfb9c24
commit d58ee114a0

View File

@ -7,9 +7,9 @@ package org.mozilla.fenix.compose.button
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material.ButtonDefaults
@ -46,9 +46,8 @@ private fun Button(
) {
androidx.compose.material.Button(
onClick = onClick,
modifier = Modifier
.fillMaxWidth()
.height(36.dp),
modifier = Modifier.fillMaxWidth(),
contentPadding = PaddingValues(horizontal = 16.dp, vertical = 12.dp),
elevation = ButtonDefaults.elevation(defaultElevation = 0.dp, pressedElevation = 0.dp),
colors = ButtonDefaults.outlinedButtonColors(
backgroundColor = backgroundColor,