mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 01:14:55 +00:00
fixed responsiveness of end side bar.
This commit is contained in:
@ -145,9 +145,9 @@ class AirQualityEndSideWidget extends StatelessWidget {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 3,
|
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
alignment: AlignmentDirectional.centerStart,
|
alignment: AlignmentDirectional.centerStart,
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
child: SelectableText(
|
child: SelectableText(
|
||||||
'AQI Sensor',
|
'AQI Sensor',
|
||||||
style: context.textTheme.headlineSmall?.copyWith(
|
style: context.textTheme.headlineSmall?.copyWith(
|
||||||
@ -160,9 +160,10 @@ class AirQualityEndSideWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 4,
|
flex: 2,
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
alignment: AlignmentDirectional.centerEnd,
|
alignment: AlignmentDirectional.centerEnd,
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
child: AnalyticsDeviceDropdown(
|
child: AnalyticsDeviceDropdown(
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
context.read<AnalyticsDevicesBloc>().add(
|
context.read<AnalyticsDevicesBloc>().add(
|
||||||
|
|||||||
Reference in New Issue
Block a user