Commit 186e9de2702d137ca4853a0e7edc107fbb5b9e1c

Authored by 常守达
1 parent 429075dc

fix(login): 超过一行改滚动为缩放

@@ -419,13 +419,16 @@ class _DeleteAccountBottomSheet extends StatelessWidget { @@ -419,13 +419,16 @@ class _DeleteAccountBottomSheet extends StatelessWidget {
419 Center( 419 Center(
420 child: Padding( 420 child: Padding(
421 padding: const EdgeInsets.symmetric(horizontal: 54), 421 padding: const EdgeInsets.symmetric(horizontal: 54),
422 - child: MarqueeText(  
423 - text: context.l10n.areYouSureYouWantToDeleteYourAccount,  
424 - style: TextStyle(  
425 - color: context.colors.textPrimary,  
426 - fontSize: 16,  
427 - fontWeight: FontWeight.w600,  
428 - height: 1.2, 422 + child: FittedBox(
  423 + fit: BoxFit.scaleDown,
  424 + child: Text(
  425 + context.l10n.areYouSureYouWantToDeleteYourAccount,
  426 + style: TextStyle(
  427 + color: context.colors.textPrimary,
  428 + fontSize: 16,
  429 + fontWeight: FontWeight.w600,
  430 + height: 1.2,
  431 + ),
429 ), 432 ),
430 ), 433 ),
431 ), 434 ),