fixed text clipping

This commit is contained in:
2026-07-16 14:23:55 +02:00
parent fa0065a3f4
commit 7fb16c6319
+12 -24
View File
@@ -71,21 +71,16 @@ 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),
name,
style: Theme.of(context).textTheme.titleLarge,
maxLines: 2,
),
],
Text(
location,
style: Theme.of(context).textTheme.bodyMedium,
maxLines: 2,
),
if (Breakpoints.xl >= screenWidth)
Text(
title,
style: TextStyle(color: Theme.of(context).colorScheme.primary),
@@ -119,21 +114,14 @@ 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),
name,
style: Theme.of(context).textTheme.titleLarge,
),
],
Text(
location,
style: Theme.of(context).textTheme.bodyMedium,
),
if (Breakpoints.xl >= screenWidth)
Text(
title,
style: TextStyle(color: Theme.of(context).colorScheme.primary),