Merge pull request 'fix: Domain name overflows on the "Use this domain?" screen' (#422) from fix_overflows_use_this_domain into master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #422 Reviewed-by: Inex Code <inex.code@selfprivacy.org>pull/425/head
commit
98b715700a
|
@ -87,9 +87,13 @@ class _DomainPickerState extends State<DomainPicker> {
|
|||
});
|
||||
},
|
||||
),
|
||||
Text(
|
||||
domain,
|
||||
style: Theme.of(context).textTheme.bodyLarge,
|
||||
Expanded(
|
||||
child: Text(
|
||||
domain,
|
||||
style: Theme.of(context).textTheme.bodyLarge,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -118,12 +122,16 @@ class _DomainPickerState extends State<DomainPicker> {
|
|||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
state.domain,
|
||||
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.onBackground,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
Expanded(
|
||||
child: Text(
|
||||
state.domain,
|
||||
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.onBackground,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue