Skip to content

Commit

Permalink
Pull request 2316: AGDNS-2239 fix setup guide list styles
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 52cc651
Merge: 324c4e1 c234e5d
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Thu Dec 5 15:28:39 2024 +0300

    Merge branch 'master' into AGDNS-2239

commit 324c4e1
Author: Ildar Kamalov <ik@adguard.com>
Date:   Wed Dec 4 17:03:46 2024 +0300

    fix mobile styles

commit 739ccfa
Author: Ildar Kamalov <ik@adguard.com>
Date:   Wed Dec 4 16:45:48 2024 +0300

    AGDNS-2239 fix guide list padding
  • Loading branch information
IldarKamalov authored and EugeneOne1 committed Dec 5, 2024
1 parent c234e5d commit 11dfc7a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]).
Expand Down
11 changes: 11 additions & 0 deletions client/src/components/SetupGuide/Guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/SetupGuide/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const SetupGuide = ({
<Trans>install_devices_address</Trans>:
</div>

<div className="mt-3">
<ul className="guide__list">
{dnsAddresses.map((ip: any) => (
<li key={ip} className="guide__address">
{ip}
</li>
))}
</div>
</ul>
</div>

<Guide dnsAddresses={dnsAddresses} />
Expand Down

0 comments on commit 11dfc7a

Please sign in to comment.