mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Updated home appbar
This commit is contained in:
parent
baed03e0c3
commit
8dffb83fd0
3 changed files with 223 additions and 210 deletions
|
@ -18,9 +18,7 @@ class ServerStatus extends StatelessWidget {
|
|||
final width = MediaQuery.of(context).size.width;
|
||||
|
||||
return Container(
|
||||
padding: width > 700
|
||||
? const EdgeInsets.only(left: 20, right: 20, bottom: 20)
|
||||
: const EdgeInsets.all(20),
|
||||
padding: const EdgeInsets.only(left: 20, right: 20, bottom: 10),
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
|
@ -31,9 +29,8 @@ class ServerStatus extends StatelessWidget {
|
|||
color: Theme.of(context).colorScheme.onSurface
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
SizedBox(
|
||||
height: width > 700 ? 70 : 140,
|
||||
height: width > 700 ? 90 : 170,
|
||||
child: GridView(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue