mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
align desktop elements
This commit is contained in:
parent
dc30b5d42a
commit
8a70e9def4
1 changed files with 5 additions and 3 deletions
|
@ -661,7 +661,8 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
.extension<StackColors>()!
|
.extension<StackColors>()!
|
||||||
.textFieldDefaultBG,
|
.textFieldDefaultBG,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(12),
|
padding: const EdgeInsets.only(
|
||||||
|
left: 16.0, top: 12.0, right: 12.0, bottom: 12.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
|
@ -687,7 +688,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
// width: 18,
|
// width: 18,
|
||||||
// ),
|
// ),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 10,
|
width: 15,
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
child: Text(
|
||||||
|
@ -789,6 +790,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(12),
|
padding: const EdgeInsets.all(12),
|
||||||
child: Row(children: [
|
child: Row(children: [
|
||||||
|
const SizedBox(width: 10), // maybe make isDesktop-aware?
|
||||||
buyWithFiat
|
buyWithFiat
|
||||||
? Text(
|
? Text(
|
||||||
format.simpleCurrencySymbol(
|
format.simpleCurrencySymbol(
|
||||||
|
@ -807,7 +809,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
)
|
)
|
||||||
: getIconForTicker(selectedCrypto?.ticker ?? "BTC")
|
: getIconForTicker(selectedCrypto?.ticker ?? "BTC")
|
||||||
as Widget,
|
as Widget,
|
||||||
const SizedBox(width: 10), // maybe make isDesktop-aware?
|
const SizedBox(width: 15), // maybe make isDesktop-aware?
|
||||||
Text(
|
Text(
|
||||||
buyWithFiat
|
buyWithFiat
|
||||||
? selectedFiat?.ticker ?? "ERR"
|
? selectedFiat?.ticker ?? "ERR"
|
||||||
|
|
Loading…
Reference in a new issue