fixed text clipping
This commit is contained in:
@@ -71,25 +71,20 @@ class ContentListTile extends StatelessWidget {
|
|||||||
title: Column(
|
title: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Text(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
name,
|
||||||
children: [
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
Text(name),
|
maxLines: 2,
|
||||||
Text(', $location'),
|
),
|
||||||
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
Text(
|
||||||
if (Breakpoints.xl < screenWidth)
|
location,
|
||||||
Text(
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
title,
|
maxLines: 2,
|
||||||
style:
|
),
|
||||||
TextStyle(color: Theme.of(context).colorScheme.primary),
|
Text(
|
||||||
),
|
title,
|
||||||
],
|
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
),
|
),
|
||||||
if (Breakpoints.xl >= screenWidth)
|
|
||||||
Text(
|
|
||||||
title,
|
|
||||||
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||||
@@ -119,25 +114,18 @@ class ContentListTile extends StatelessWidget {
|
|||||||
title: Column(
|
title: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Text(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
name,
|
||||||
children: [
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
Text(name),
|
),
|
||||||
Text(', $location'),
|
Text(
|
||||||
if (Breakpoints.xl < screenWidth) const Text(' - '),
|
location,
|
||||||
if (Breakpoints.xl < screenWidth)
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
Text(
|
),
|
||||||
title,
|
Text(
|
||||||
style:
|
title,
|
||||||
TextStyle(color: Theme.of(context).colorScheme.primary),
|
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
if (Breakpoints.xl >= screenWidth)
|
|
||||||
Text(
|
|
||||||
title,
|
|
||||||
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
titleAlignment: ListTileTitleAlignment.titleHeight,
|
titleAlignment: ListTileTitleAlignment.titleHeight,
|
||||||
|
|||||||
Reference in New Issue
Block a user