mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
fix address book ugly style
This commit is contained in:
parent
2c56159d6d
commit
6f18083774
@ -98,7 +98,7 @@ class _AddressBookState extends State<AddressBook> {
|
||||
width: double.infinity,
|
||||
height: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(color: MyTheme.darkGray),
|
||||
border: Border.all(color: MyTheme.border),
|
||||
borderRadius: BorderRadius.circular(2)),
|
||||
child: _buildTags(),
|
||||
).marginSymmetric(vertical: 8.0),
|
||||
@ -430,7 +430,9 @@ class AddressBookTag extends StatelessWidget {
|
||||
() => Container(
|
||||
decoration: BoxDecoration(
|
||||
color: tags.contains(name) ? Colors.blue : null,
|
||||
border: Border.all(color: MyTheme.darkGray),
|
||||
border: tags.contains(name)
|
||||
? null
|
||||
: Border.all(color: MyTheme.border),
|
||||
borderRadius: BorderRadius.circular(6)),
|
||||
margin: const EdgeInsets.symmetric(horizontal: 4.0, vertical: 8.0),
|
||||
padding: const EdgeInsets.symmetric(vertical: 2.0, horizontal: 8.0),
|
||||
|
@ -8,7 +8,6 @@ import 'package:get/get.dart';
|
||||
|
||||
import '../../common.dart';
|
||||
import '../../common/formatter/id_formatter.dart';
|
||||
import '../../models/model.dart';
|
||||
import '../../models/peer_model.dart';
|
||||
import '../../models/platform_model.dart';
|
||||
import '../../desktop/widgets/material_mod_popup_menu.dart' as mod_menu;
|
||||
@ -1233,6 +1232,7 @@ class ActionMore extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(
|
||||
borderRadius: BorderRadius.circular(14),
|
||||
onTap: () {},
|
||||
onHover: (value) => _hover.value = value,
|
||||
child: Obx(() => CircleAvatar(
|
||||
|
Loading…
Reference in New Issue
Block a user