Skip to content

Commit 215b630

Browse files
committed
style(content_management): adjust data table column sizes
- Change source type column size from Medium to Small - Change last updated column size from Medium to Small - Remove status column - Remove fixed width from actions column
1 parent 129bd1c commit 215b630

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/content_management/view/sources_page.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,15 @@ class _SourcesPageState extends State<SourcesPage> {
7575
),
7676
DataColumn2(
7777
label: Text(l10n.sourceType),
78-
size: ColumnSize.M,
78+
size: ColumnSize.S,
7979
),
80-
DataColumn2(label: Text(l10n.status), size: ColumnSize.S),
8180
DataColumn2(
8281
label: Text(l10n.lastUpdated),
83-
size: ColumnSize.M,
82+
size: ColumnSize.S,
8483
),
8584
DataColumn2(
8685
label: Text(l10n.actions),
8786
size: ColumnSize.S,
88-
fixedWidth: 120,
8987
),
9088
],
9189
source: _SourcesDataSource(
@@ -165,7 +163,6 @@ class _SourcesDataSource extends DataTableSource {
165163
),
166164
),
167165
DataCell(Text(source.sourceType.localizedName(l10n))),
168-
DataCell(Text(source.status.l10n(context))),
169166
DataCell(
170167
Text(
171168
// TODO(fulleni): Make date format configurable by admin.

0 commit comments

Comments
 (0)