From c43f19fd7d04bd8bb76d27c3b265c1c24c36daa6 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 30 Aug 2025 02:53:44 +0200 Subject: [PATCH] Improve CSS for lists in modals (#2473) --- components/adv-post-form.js | 2 +- components/info/cc.js | 2 +- components/info/reward-sats.js | 2 +- components/job-form.js | 2 +- styles/globals.scss | 4 ++++ 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/components/adv-post-form.js b/components/adv-post-form.js index 464b7bcf..cf0933d1 100644 --- a/components/adv-post-form.js +++ b/components/adv-post-form.js @@ -32,7 +32,7 @@ const FormStatus = { export function BoostHelp () { return ( -
    +
    1. Boost ranks items higher based on the amount
    2. The highest boost in a territory over the last 30 days is pinned to the top of the territory
    3. The highest boost across all territories over the last 30 days is pinned to the top of the homepage
    4. diff --git a/components/info/cc.js b/components/info/cc.js index 53219c06..f4814ef4 100644 --- a/components/info/cc.js +++ b/components/info/cc.js @@ -5,7 +5,7 @@ export default function CCInfo (props) { return (
      Why am I getting cowboy credits?
      -
        +
        • to receive sats, you must attach an external receiving wallet
        • zappers may have chosen to send you CCs instead of sats
        • if the zaps are split on a post, recipients will receive CCs regardless of their configured receiving wallet
        • diff --git a/components/info/reward-sats.js b/components/info/reward-sats.js index d84a8e72..178a1cfd 100644 --- a/components/info/reward-sats.js +++ b/components/info/reward-sats.js @@ -5,7 +5,7 @@ export default function RewardSatsInfo (props) { return (
          Where did my sats come from?
          -
            +
            • you may have sats from before SN went not-custodial
            • sats also come from daily rewards and territory revenue
                diff --git a/components/job-form.js b/components/job-form.js index f8533586..f65b78d5 100644 --- a/components/job-form.js +++ b/components/job-form.js @@ -114,7 +114,7 @@ export default function JobForm ({ item, sub }) { label={
                boost -
                  +
                  1. Boost ranks jobs higher based on the amount
                  2. The minimum boost is {numWithUnits(BOOST_MIN, { abbreviate: false })}
                  3. Boost must be divisible by {numWithUnits(BOOST_MULT, { abbreviate: false })}
                  4. diff --git a/styles/globals.scss b/styles/globals.scss index 05eaaab6..0d4a7bd4 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -322,6 +322,10 @@ svg { padding: 0; background-color: transparent; } +.modal-body li { + line-height: 1.25; + margin-top: 0.5rem; +} .modal-close.fullscreen { padding: 1.25rem; }