mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 17:39:42 +00:00
Merge pull request 'fix: Domain name overflows on the "Use this domain?" screen' (#422) from fix_overflows_use_this_domain into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/422 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
98b715700a
|
@ -87,9 +87,13 @@ class _DomainPickerState extends State<DomainPicker> {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Text(
|
Expanded(
|
||||||
domain,
|
child: Text(
|
||||||
style: Theme.of(context).textTheme.bodyLarge,
|
domain,
|
||||||
|
style: Theme.of(context).textTheme.bodyLarge,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
maxLines: 1,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -118,12 +122,16 @@ class _DomainPickerState extends State<DomainPicker> {
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Expanded(
|
||||||
state.domain,
|
child: Text(
|
||||||
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
state.domain,
|
||||||
color: Theme.of(context).colorScheme.onBackground,
|
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
||||||
),
|
color: Theme.of(context).colorScheme.onBackground,
|
||||||
textAlign: TextAlign.center,
|
),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
maxLines: 1,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue