Skip to content

Commit 54f2f15

Browse files
authored
Fix alignment of icons and links in DevTools footer (#9432)
1 parent c330f62 commit 54f2f15

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

packages/devtools_app/lib/src/shared/ui/common_widgets.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,14 +1308,9 @@ class LinkIconLabel extends StatelessWidget {
13081308
children: [
13091309
Icon(icon, size: defaultIconSize, color: color),
13101310
const SizedBox(width: densePadding),
1311-
Padding(
1312-
padding: const EdgeInsets.only(bottom: densePadding),
1313-
child: RichText(
1314-
text: TextSpan(
1315-
text: link.display,
1316-
style: Theme.of(context).linkTextStyle.copyWith(color: color),
1317-
),
1318-
),
1311+
Text.rich(
1312+
TextSpan(text: link.display),
1313+
style: Theme.of(context).linkTextStyle.copyWith(color: color),
13191314
),
13201315
],
13211316
),

0 commit comments

Comments
 (0)