mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 14:02:48 +00:00
Changed design dns rewrites
This commit is contained in:
parent
cddc964276
commit
665eb5a0c2
1 changed files with 58 additions and 60 deletions
|
@ -123,15 +123,11 @@ class _DnsRewritesScreenState extends State<DnsRewritesScreen> {
|
|||
child: ListView.builder(
|
||||
padding: const EdgeInsets.only(top: 0),
|
||||
itemCount: rewriteRulesProvider.rewriteRules!.length,
|
||||
itemBuilder: (context, index) => Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(
|
||||
width: 1,
|
||||
color: Theme.of(context).colorScheme.outline.withOpacity(0.2)
|
||||
)
|
||||
)
|
||||
itemBuilder: (context, index) => Card(
|
||||
margin: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 16, top: 16, bottom: 16, right: 8
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
|
@ -185,10 +181,12 @@ class _DnsRewritesScreenState extends State<DnsRewritesScreen> {
|
|||
)
|
||||
)
|
||||
},
|
||||
icon: const Icon(Icons.delete)
|
||||
icon: const Icon(Icons.delete),
|
||||
tooltip: AppLocalizations.of(context)!.delete,
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue