fixed text clipping

This commit is contained in:
2026-07-16 14:23:55 +02:00
parent fa0065a3f4
commit 7fb16c6319
+24 -36
View File
@@ -71,25 +71,20 @@ class ContentListTile extends StatelessWidget {
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(name),
Text(', $location'),
if (Breakpoints.xl < screenWidth) const Text(' - '),
if (Breakpoints.xl < screenWidth)
Text(
title,
style:
TextStyle(color: Theme.of(context).colorScheme.primary),
),
],
Text(
name,
style: Theme.of(context).textTheme.titleLarge,
maxLines: 2,
),
Text(
location,
style: Theme.of(context).textTheme.bodyMedium,
maxLines: 2,
),
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,
@@ -119,25 +114,18 @@ class ContentListTile extends StatelessWidget {
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(name),
Text(', $location'),
if (Breakpoints.xl < screenWidth) const Text(' - '),
if (Breakpoints.xl < screenWidth)
Text(
title,
style:
TextStyle(color: Theme.of(context).colorScheme.primary),
),
],
Text(
name,
style: Theme.of(context).textTheme.titleLarge,
),
Text(
location,
style: Theme.of(context).textTheme.bodyMedium,
),
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,