fix: resolve layout overflow on narrow screens and polish card typography
This commit is contained in:
@@ -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)',
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w900,
|
||||
letterSpacing: 0.8,
|
||||
color: Color(0xFFFFD54F),
|
||||
),
|
||||
const GradientStar(size: 15),
|
||||
const SizedBox(width: 6),
|
||||
const Expanded(
|
||||
child: Text(
|
||||
'КЛЕРОМАНТИЯ • 3× d10',
|
||||
style: TextStyle(
|
||||
fontSize: 11.5,
|
||||
fontWeight: FontWeight.w900,
|
||||
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,
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user