mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 11:45:59 +00:00
fix: address book tickers overflow
This commit is contained in:
parent
338e354e4b
commit
80ba2a8c5c
1 changed files with 18 additions and 16 deletions
|
@ -137,29 +137,31 @@ class _AddressBookCardState extends ConsumerState<AddressBookCard> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 16,
|
width: 16,
|
||||||
),
|
),
|
||||||
if (isDesktop && !desktopSendFrom) const Spacer(),
|
Expanded(
|
||||||
if (isDesktop)
|
child: Column(
|
||||||
Text(
|
crossAxisAlignment: isDesktop && !desktopSendFrom
|
||||||
coinsString,
|
? CrossAxisAlignment.end
|
||||||
style: STextStyles.label(context),
|
: CrossAxisAlignment.start,
|
||||||
),
|
|
||||||
if (!isDesktop)
|
|
||||||
Column(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
Text(
|
if (!isDesktop)
|
||||||
contact.name,
|
Text(
|
||||||
style: STextStyles.itemSubtitle12(context),
|
contact.name,
|
||||||
),
|
style: STextStyles.itemSubtitle12(context),
|
||||||
const SizedBox(
|
),
|
||||||
height: 4,
|
if (!isDesktop)
|
||||||
),
|
const SizedBox(
|
||||||
|
height: 4,
|
||||||
|
),
|
||||||
Text(
|
Text(
|
||||||
coinsString,
|
coinsString,
|
||||||
style: STextStyles.label(context),
|
style: STextStyles.label(context),
|
||||||
|
textAlign: isDesktop && !desktopSendFrom
|
||||||
|
? TextAlign.right
|
||||||
|
: TextAlign.left,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
if (isDesktop && desktopSendFrom) const Spacer(),
|
if (isDesktop && desktopSendFrom) const Spacer(),
|
||||||
if (isDesktop && desktopSendFrom)
|
if (isDesktop && desktopSendFrom)
|
||||||
SvgPicture.asset(
|
SvgPicture.asset(
|
||||||
|
|
Loading…
Reference in a new issue