fix(#173): dates en Merienda, plus grandes, indentées ; sans motif
Retire l’affichage du commentaire / motif sur la bulle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -395,43 +395,40 @@ class _BulleTile extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
if (card.dateDebut != null || card.dateFin != null) ...[
|
if (card.dateDebut != null || card.dateFin != null) ...[
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
if (memeJour)
|
Padding(
|
||||||
Text(
|
padding: const EdgeInsets.only(left: 12),
|
||||||
|
child: memeJour
|
||||||
|
? Text(
|
||||||
'Le ${_fmtLong(card.dateDebut)}',
|
'Le ${_fmtLong(card.dateDebut)}',
|
||||||
style: GoogleFonts.merriweather(
|
style: GoogleFonts.merienda(
|
||||||
fontSize: 14,
|
fontSize: 17,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
color: QuotidienTheme.ink,
|
color: QuotidienTheme.ink,
|
||||||
height: 1.35,
|
height: 1.35,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
else ...[
|
: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'Du ${_fmtLong(card.dateDebut)}',
|
'Du ${_fmtLong(card.dateDebut)}',
|
||||||
style: GoogleFonts.merriweather(
|
style: GoogleFonts.merienda(
|
||||||
fontSize: 14,
|
fontSize: 17,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
color: QuotidienTheme.ink,
|
color: QuotidienTheme.ink,
|
||||||
height: 1.35,
|
height: 1.35,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'Au ${_fmtLong(card.dateFin)}',
|
'Au ${_fmtLong(card.dateFin)}',
|
||||||
style: GoogleFonts.merriweather(
|
style: GoogleFonts.merienda(
|
||||||
fontSize: 14,
|
fontSize: 17,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
color: QuotidienTheme.ink,
|
color: QuotidienTheme.ink,
|
||||||
height: 1.35,
|
height: 1.35,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
|
||||||
if (card.motif != null && card.motif!.trim().isNotEmpty) ...[
|
|
||||||
const SizedBox(height: 6),
|
|
||||||
Text(
|
|
||||||
card.motif!,
|
|
||||||
maxLines: 2,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
style: GoogleFonts.merriweather(
|
|
||||||
fontSize: 12,
|
|
||||||
color: QuotidienTheme.muted,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user