Fix some padding

This commit is contained in:
Andrew 2024-06-12 12:48:58 +09:30
parent 04fbf64d50
commit 9d3ef2758d
3 changed files with 4 additions and 3 deletions

View File

@ -179,8 +179,8 @@ fun EnterAccountId(
OutlineButton(
modifier = Modifier
.align(Alignment.CenterHorizontally)
.padding(horizontal = 64.dp)
.width(200.dp)
.padding(horizontal = LocalDimensions.current.marginLarge)
.fillMaxWidth()
.contentDescription(R.string.next),
onClick = { callbacks.onContinue() }
) {

View File

@ -392,7 +392,7 @@ class HomeActivity : PassphraseRequiredActionBarActivity(),
stringResource(R.string.save_your_recovery_password),
style = MaterialTheme.typography.h8
)
Spacer(Modifier.requiredWidth(LocalDimensions.current.itemSpacingSmall))
Spacer(Modifier.requiredWidth(LocalDimensions.current.itemSpacingExtraSmall))
SessionShieldIcon()
}
Text(

View File

@ -227,6 +227,7 @@ private fun HideRecoveryPasswordCell(onHide: () -> Unit = {}) {
style = MaterialTheme.typography.base
)
}
Spacer(modifier = Modifier.width(LocalDimensions.current.marginExtraExtraSmall))
DestructiveButtons {
OutlineButton(
textId = R.string.hide,