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
+1 -1
View File
@@ -114,7 +114,7 @@ class _MainNavigationContainerState extends State<MainNavigationContainer> {
NavigationDestination(
icon: Icon(Icons.dialpad_outlined),
selectedIcon: GradientStar(size: 22),
label: 'Поиск 000..999',
label: 'Оракул',
),
NavigationDestination(
icon: Icon(Icons.auto_awesome_outlined),
+9 -12
View File
@@ -124,27 +124,24 @@ class D10DiceRollerWidgetState extends State<D10DiceRollerWidget> {
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Row(
children: [
GradientStar(size: 16),
SizedBox(width: 8),
Text(
'КЛЕРОМАНТИЯ • 3× d10 (0..9)',
const GradientStar(size: 15),
const SizedBox(width: 6),
const Expanded(
child: Text(
'КЛЕРОМАНТИЯ • 3× d10',
style: TextStyle(
fontSize: 12,
fontSize: 11.5,
fontWeight: FontWeight.w900,
letterSpacing: 0.8,
letterSpacing: 0.5,
color: Color(0xFFFFD54F),
),
),
],
),
Text(
_internalRolling
? 'Бросок кубиков...'
: (widget.digits.length == 3 ? 'Число зафиксировано' : 'Ожидание 3 цифр'),
? 'Бросок...'
: (widget.digits.length == 3 ? 'Зафиксировано' : '3 цифры'),
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w600,
+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: [