From 11dfc7a3e8ef8af4a3420a1c98541d651ae75548 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 5 Dec 2024 15:36:40 +0300 Subject: [PATCH] Pull request 2316: AGDNS-2239 fix setup guide list styles Squashed commit of the following: commit 52cc651e3b6a5fe7c46ad1fb41865f2dd1f84258 Merge: 324c4e102 c234e5dc3 Author: Eugene Burkov Date: Thu Dec 5 15:28:39 2024 +0300 Merge branch 'master' into AGDNS-2239 commit 324c4e1024e6d1c4fc72eeae2baeee6565512a6c Author: Ildar Kamalov Date: Wed Dec 4 17:03:46 2024 +0300 fix mobile styles commit 739ccfa6f1c99562c81c2ba947b3c91fb82ea572 Author: Ildar Kamalov Date: Wed Dec 4 16:45:48 2024 +0300 AGDNS-2239 fix guide list padding --- CHANGELOG.md | 1 + client/src/components/SetupGuide/Guide.css | 11 +++++++++++ client/src/components/SetupGuide/index.tsx | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43d05809..7ef20331 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Setup guide styles in Firefox. - Goroutine leak during the upstream DNS server test ([#7357]). - Goroutine leak during configuration update resulting in increased response time ([#6818]). diff --git a/client/src/components/SetupGuide/Guide.css b/client/src/components/SetupGuide/Guide.css index 86d3070b..8b4d4116 100644 --- a/client/src/components/SetupGuide/Guide.css +++ b/client/src/components/SetupGuide/Guide.css @@ -14,6 +14,17 @@ font-size: 15px; } +.guide__list { + margin-top: 16px; + padding-left: 0; +} + +@media screen and (min-width: 768px) { + .guide__list { + padding-left: 24px; + } +} + .guide__address { display: block; margin-bottom: 7px; diff --git a/client/src/components/SetupGuide/index.tsx b/client/src/components/SetupGuide/index.tsx index 5f2e9a93..76263488 100644 --- a/client/src/components/SetupGuide/index.tsx +++ b/client/src/components/SetupGuide/index.tsx @@ -33,13 +33,13 @@ const SetupGuide = ({ install_devices_address: -
+
    {dnsAddresses.map((ip: any) => (
  • {ip}
  • ))} -
+