fix: resolve layout overflow on narrow screens and polish card typography

This commit is contained in:
Alma Alexyz
2026-08-31 14:39:15 +05:00
parent 66ba3c5247
commit bc892c3388
3 changed files with 29 additions and 20 deletions
+15 -3
View File
@@ -312,9 +312,21 @@ class _WordCardWidgetState extends State<WordCardWidget> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
GradientStarBadge(
text: '#${widget.word.formattedSessionNumber} / 999',
size: 18,
Row(
mainAxisSize: MainAxisSize.min,
children: [
const GradientStar(size: 15),
const SizedBox(width: 6),
Text(
'ЗНАК #${widget.word.formattedSessionNumber}',
style: const TextStyle(
fontSize: 13,
fontWeight: FontWeight.w900,
letterSpacing: 1.0,
color: Color(0xFFFFD54F),
),
),
],
),
Row(
children: [