Skip to content

Commit

Permalink
Fix layout issue in fake node
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Sep 11, 2024
1 parent 77ae1dc commit 8905f0f
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions app/lib/widgets/components/app/entry_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -462,37 +462,43 @@ class FakeEntryNode extends HookConsumerWidget {
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 4),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
Iconify(blueprint.icon, color: Colors.white, size: 18),
const SizedBox(width: 8),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
name.formatted,
style: TextStyle(
color: Colors.white,
fontSize: 13,
decoration:
isDeprecated ? TextDecoration.lineThrough : null,
decorationThickness: 2.8,
decorationColor: Theme.of(context).scaffoldBackgroundColor,
decorationStyle: TextDecorationStyle.wavy,
Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
name.formatted,
style: TextStyle(
color: Colors.white,
fontSize: 13,
decoration:
isDeprecated ? TextDecoration.lineThrough : null,
decorationThickness: 2.8,
decorationColor:
Theme.of(context).scaffoldBackgroundColor,
decorationStyle: TextDecorationStyle.wavy,
),
overflow: TextOverflow.ellipsis,
),
),
Text(
blueprintId.formatted,
style: TextStyle(
color: Colors.white70,
fontSize: 11,
decoration:
isDeprecated ? TextDecoration.lineThrough : null,
decorationThickness: 2.5,
decorationColor: Theme.of(context).scaffoldBackgroundColor,
decorationStyle: TextDecorationStyle.wavy,
Text(
blueprintId.formatted,
style: TextStyle(
color: Colors.white70,
fontSize: 11,
decoration:
isDeprecated ? TextDecoration.lineThrough : null,
decorationThickness: 2.5,
decorationColor:
Theme.of(context).scaffoldBackgroundColor,
decorationStyle: TextDecorationStyle.wavy,
),
),
),
],
],
),
),
],
),
Expand Down

0 comments on commit 8905f0f

Please sign in to comment.