Artifact viewer: centre the Details (i) button in its bar pill
The viewer's top-bar Details action reused the compact bottom-bar button, so its icon sat off-centre in the bar's round pill on Material. Bar actions now use the standard bar button size.
This commit is contained in:
@@ -383,6 +383,7 @@ class ArtifactViewerInfoAction extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ArtifactIconAction(
|
||||
key: const Key('artifact-info'),
|
||||
inBar: true,
|
||||
label: 'Details',
|
||||
icon: Icons.info_outline,
|
||||
cupertinoIcon: CupertinoIcons.info,
|
||||
|
||||
Reference in New Issue
Block a user