[Glitch] Add hints for rules

Port 5b3a8737d6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
essem/emoji-reactions-plus-upstream
Eugen Rochko 2 months ago committed by Claire
parent a5127d0ef8
commit 777510a696

@ -170,7 +170,8 @@ class About extends PureComponent {
<ol className='rules-list'>
{server.get('rules').map(rule => (
<li key={rule.get('id')}>
<span className='rules-list__text'>{rule.get('text')}</span>
<div className='rules-list__text'>{rule.get('text')}</div>
{rule.get('hint').length > 0 && (<div className='rules-list__hint'>{rule.get('hint')}</div>)}
</li>
))}
</ol>

@ -53,4 +53,10 @@ $fluid-breakpoint: $maximum-width + 20px;
border-bottom: 0;
}
}
&__hint {
font-size: 14px;
font-weight: 400;
color: $darker-text-color;
}
}

Loading…
Cancel
Save