mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
More ui changes
This commit is contained in:
parent
5067122344
commit
d8897f1d74
19 changed files with 261 additions and 157 deletions
|
@ -170,11 +170,12 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
padding: const EdgeInsets.only(top: 0),
|
||||
itemCount: serversProvider.rewriteRules.data!.length,
|
||||
itemBuilder: (context, index) => Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(
|
||||
color: Colors.grey.shade200
|
||||
width: 1,
|
||||
color: Theme.of(context).colorScheme.outline.withOpacity(0.5)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
@ -188,12 +189,16 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
children: [
|
||||
Text(
|
||||
"${AppLocalizations.of(context)!.domain}: ",
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.w500
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
),
|
||||
),
|
||||
Text(
|
||||
serversProvider.rewriteRules.data![index].domain,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -202,12 +207,16 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
children: [
|
||||
Text(
|
||||
"${AppLocalizations.of(context)!.answer}: ",
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.w500
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
),
|
||||
),
|
||||
Text(
|
||||
serversProvider.rewriteRules.data![index].answer,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue