fix: Adjust border width and improve layout of stat card in coverage quick stats

This commit is contained in:
Achintha Isuru
2026-03-10 12:08:51 -04:00
parent 825cffbc33
commit a22a092b56
2 changed files with 14 additions and 18 deletions

View File

@@ -270,7 +270,7 @@ class _CoveragePageState extends State<CoveragePage> {
children: <Widget>[
Column(
spacing: UiConstants.space2,
children: [
children: <Widget>[
if (state.stats != null && state.stats!.late > 0) ...<Widget>[
LateWorkersAlert(lateCount: state.stats!.late),
],

View File

@@ -72,33 +72,29 @@ class _StatCard extends StatelessWidget {
borderRadius: UiConstants.radiusLg,
border: Border.all(
color: color,
width: 0.75,
width: 0.5,
),
),
child: Row(
spacing: UiConstants.space2,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Icon(
icon,
color: color,
size: UiConstants.space6,
),
Row(
spacing: UiConstants.space1,
children: [
Text(
value,
style: UiTypography.title1b.copyWith(
color: color,
),
),
Text(
label,
style: UiTypography.body3r.copyWith(
color: color,
),
),
],
Text(
value,
style: UiTypography.title1b.copyWith(
color: color,
),
),
Text(
label,
style: UiTypography.body3r.copyWith(
color: color,
),
),
],
),