feat: Adjust layout in ShiftCardBody to improve icon and title alignment
This commit is contained in:
@@ -18,9 +18,11 @@ class ShiftCardBody extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Row(
|
Row(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
ShiftCardIcon(variant: data.variant),
|
ShiftCardIcon(variant: data.variant),
|
||||||
ShiftCardTitleRow(data: data),
|
const SizedBox(width: UiConstants.space3),
|
||||||
|
Expanded(child: ShiftCardTitleRow(data: data)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: UiConstants.space2),
|
const SizedBox(height: UiConstants.space2),
|
||||||
|
|||||||
Reference in New Issue
Block a user