mirror of
https://github.com/logto-io/logto.git
synced 2025-03-17 22:31:28 -05:00
refactor(console): add space to learn more links (#2736)
This commit is contained in:
parent
45800d1cfe
commit
52265b0b03
2 changed files with 6 additions and 7 deletions
packages/console/src/components/FormCard
|
@ -23,10 +23,6 @@
|
|||
.description {
|
||||
font: var(--font-body-medium);
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
.link {
|
||||
margin-left: _.unit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,9 +24,12 @@ const FormCard = ({ title, description, learnMoreLink, children }: Props) => {
|
|||
<div className={styles.description}>
|
||||
{t(description)}
|
||||
{learnMoreLink && (
|
||||
<TextLink href={learnMoreLink} target="_blank" rel="noopener" className={styles.link}>
|
||||
{t('general.learn_more')}
|
||||
</TextLink>
|
||||
<>
|
||||
{' '}
|
||||
<TextLink href={learnMoreLink} target="_blank" rel="noopener">
|
||||
{t('general.learn_more')}
|
||||
</TextLink>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Add table
Reference in a new issue