mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-07 18:02:48 +08:00
fix ab style
This commit is contained in:
parent
bacba010e3
commit
0a5ddd6054
@ -71,7 +71,6 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.symmetric(horizontal: 4.0),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
border:
|
border:
|
||||||
@ -79,22 +78,21 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
child: Container(
|
child: Container(
|
||||||
width: 180,
|
width: 180,
|
||||||
height: double.infinity,
|
height: double.infinity,
|
||||||
padding:
|
padding: const EdgeInsets.all(8.0),
|
||||||
const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
|
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
_buildTagHeader(),
|
_buildTagHeader().marginOnly(left: 8.0, right: 0),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Container(
|
child: Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
height: double.infinity,
|
height: double.infinity,
|
||||||
child: _buildTags(),
|
child: _buildTags(),
|
||||||
).marginSymmetric(vertical: 8.0),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
).marginOnly(right: 8.0),
|
).marginOnly(right: 12.0),
|
||||||
_buildPeersViews()
|
_buildPeersViews()
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
@ -104,26 +102,24 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.symmetric(horizontal: 1.0),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(6),
|
borderRadius: BorderRadius.circular(6),
|
||||||
border:
|
border:
|
||||||
Border.all(color: Theme.of(context).colorScheme.background)),
|
Border.all(color: Theme.of(context).colorScheme.background)),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding:
|
padding: const EdgeInsets.all(8.0),
|
||||||
const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
|
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
_buildTagHeader(),
|
_buildTagHeader().marginOnly(left: 8.0, right: 0),
|
||||||
Container(
|
Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: _buildTags(),
|
child: _buildTags(),
|
||||||
).marginSymmetric(vertical: 8.0),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
).marginOnly(bottom: 12.0),
|
||||||
_buildPeersViews()
|
_buildPeersViews()
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user