fix: resolve layout overflow on narrow screens and polish card typography
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ class _MainNavigationContainerState extends State<MainNavigationContainer> {
|
|||||||
NavigationDestination(
|
NavigationDestination(
|
||||||
icon: Icon(Icons.dialpad_outlined),
|
icon: Icon(Icons.dialpad_outlined),
|
||||||
selectedIcon: GradientStar(size: 22),
|
selectedIcon: GradientStar(size: 22),
|
||||||
label: 'Поиск 000..999',
|
label: 'Оракул',
|
||||||
),
|
),
|
||||||
NavigationDestination(
|
NavigationDestination(
|
||||||
icon: Icon(Icons.auto_awesome_outlined),
|
icon: Icon(Icons.auto_awesome_outlined),
|
||||||
|
|||||||
@@ -124,27 +124,24 @@ class D10DiceRollerWidgetState extends State<D10DiceRollerWidget> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
children: [
|
||||||
const Row(
|
const GradientStar(size: 15),
|
||||||
children: [
|
const SizedBox(width: 6),
|
||||||
GradientStar(size: 16),
|
const Expanded(
|
||||||
SizedBox(width: 8),
|
child: Text(
|
||||||
Text(
|
'КЛЕРОМАНТИЯ • 3× d10',
|
||||||
'КЛЕРОМАНТИЯ • 3× d10 (0..9)',
|
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 12,
|
fontSize: 11.5,
|
||||||
fontWeight: FontWeight.w900,
|
fontWeight: FontWeight.w900,
|
||||||
letterSpacing: 0.8,
|
letterSpacing: 0.5,
|
||||||
color: Color(0xFFFFD54F),
|
color: Color(0xFFFFD54F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
_internalRolling
|
_internalRolling
|
||||||
? 'Бросок кубиков...'
|
? 'Бросок...'
|
||||||
: (widget.digits.length == 3 ? 'Число зафиксировано' : 'Ожидание 3 цифр'),
|
: (widget.digits.length == 3 ? 'Зафиксировано' : '3 цифры'),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 11,
|
fontSize: 11,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|||||||
@@ -312,9 +312,21 @@ class _WordCardWidgetState extends State<WordCardWidget> {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
GradientStarBadge(
|
Row(
|
||||||
text: '#${widget.word.formattedSessionNumber} / 999',
|
mainAxisSize: MainAxisSize.min,
|
||||||
size: 18,
|
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(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user