Skip to content

Commit

Permalink
Changed font size and decreased horizontal padding centering the butt…
Browse files Browse the repository at this point in the history
…on text (Ivy-Apps#2999)
  • Loading branch information
diasmashikov authored Feb 26, 2024
1 parent 0566fdd commit 9a500de
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.ivy.base.legacy.Transaction
import com.ivy.base.legacy.TransactionHistoryItem
import com.ivy.base.legacy.stringRes
Expand Down Expand Up @@ -184,15 +185,15 @@ private fun RowScope.HeaderCard(
IvyButton(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
.padding(horizontal = 8.dp)
.align(Alignment.CenterHorizontally),
text = addButtonText,
shadowAlpha = 0.1f,
backgroundGradient = Gradient.solid(addButtonBackground),
textStyle = UI.typo.b2.style(
color = findContrastTextColor(addButtonBackground),
fontWeight = FontWeight.Bold
),
).copy(fontSize = 12.sp),
wrapContentMode = false
) {
onAddClick()
Expand Down

0 comments on commit 9a500de

Please sign in to comment.