mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Removed unnecessary SizedBox from TagChipDisplay
.
This commit is contained in:
@ -50,9 +50,8 @@ class TagChipDisplay extends StatelessWidget {
|
||||
spaceModel?.subspaceModels?.any((e) => e.tags?.isNotEmpty ?? false) ?? false;
|
||||
|
||||
if (hasTags || hasSubspaceTags) {
|
||||
return SizedBox(
|
||||
return Container(
|
||||
width: screenWidth * 0.25,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.all(8),
|
||||
decoration: BoxDecoration(
|
||||
color: ColorsManager.textFieldGreyColor,
|
||||
@ -70,7 +69,6 @@ class TagChipDisplay extends StatelessWidget {
|
||||
_buildEditChip(context),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
return _buildAddDevicesButton(context);
|
||||
|
Reference in New Issue
Block a user