Skip to content

Commit c43f19f

Browse files
authored
Improve CSS for lists in modals (#2473)
1 parent 5ff6214 commit c43f19f

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

components/adv-post-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const FormStatus = {
3232

3333
export function BoostHelp () {
3434
return (
35-
<ol style={{ lineHeight: 1.25 }}>
35+
<ol>
3636
<li>Boost ranks items higher based on the amount</li>
3737
<li>The highest boost in a territory over the last 30 days is pinned to the top of the territory</li>
3838
<li>The highest boost across all territories over the last 30 days is pinned to the top of the homepage</li>

components/info/cc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function CCInfo (props) {
55
return (
66
<Info {...props}>
77
<h6>Why am I getting cowboy credits?</h6>
8-
<ul className='line-height-md'>
8+
<ul>
99
<li>to receive sats, you must attach an <Link href='/wallets'>external receiving wallet</Link></li>
1010
<li>zappers may have chosen to send you CCs instead of sats</li>
1111
<li>if the zaps are split on a post, recipients will receive CCs regardless of their configured receiving wallet</li>

components/info/reward-sats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function RewardSatsInfo (props) {
55
return (
66
<Info {...props}>
77
<h6>Where did my sats come from?</h6>
8-
<ul className='line-height-md'>
8+
<ul>
99
<li>you may have sats from before <Link href='/items/835465'>SN went not-custodial</Link></li>
1010
<li>sats also come from <Link href='/rewards'>daily rewards</Link> and territory revenue
1111
<ul>

components/job-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default function JobForm ({ item, sub }) {
114114
label={
115115
<div className='d-flex align-items-center'>boost
116116
<Info>
117-
<ol className='line-height-md'>
117+
<ol>
118118
<li>Boost ranks jobs higher based on the amount</li>
119119
<li>The minimum boost is {numWithUnits(BOOST_MIN, { abbreviate: false })}</li>
120120
<li>Boost must be divisible by {numWithUnits(BOOST_MULT, { abbreviate: false })}</li>

styles/globals.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ svg {
322322
padding: 0;
323323
background-color: transparent;
324324
}
325+
.modal-body li {
326+
line-height: 1.25;
327+
margin-top: 0.5rem;
328+
}
325329
.modal-close.fullscreen {
326330
padding: 1.25rem;
327331
}

0 commit comments

Comments
 (0)