mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
style(console): fix connector dark collapse button margin (#3229)
This commit is contained in:
parent
13f877ca4d
commit
a3e6001887
2 changed files with 17 additions and 11 deletions
|
@ -5,3 +5,7 @@
|
|||
font: var(--font-body-2);
|
||||
margin-top: _.unit(0.5);
|
||||
}
|
||||
|
||||
.fieldButton {
|
||||
margin-top: _.unit(2);
|
||||
}
|
||||
|
|
|
@ -89,17 +89,19 @@ const BasicForm = ({
|
|||
/>
|
||||
</FormField>
|
||||
)}
|
||||
<Button
|
||||
size="small"
|
||||
type="text"
|
||||
title={
|
||||
darkVisible
|
||||
? 'connectors.guide.logo_dark_collapse'
|
||||
: 'connectors.guide.logo_dark_show'
|
||||
}
|
||||
trailingIcon={darkVisible ? <CaretUp /> : <CaretDown />}
|
||||
onClick={toggleDarkVisible}
|
||||
/>
|
||||
<div className={styles.fieldButton}>
|
||||
<Button
|
||||
size="small"
|
||||
type="text"
|
||||
title={
|
||||
darkVisible
|
||||
? 'connectors.guide.logo_dark_collapse'
|
||||
: 'connectors.guide.logo_dark_show'
|
||||
}
|
||||
trailingIcon={darkVisible ? <CaretUp /> : <CaretDown />}
|
||||
onClick={toggleDarkVisible}
|
||||
/>
|
||||
</div>
|
||||
<FormField
|
||||
isRequired
|
||||
title="connectors.guide.target"
|
||||
|
|
Loading…
Add table
Reference in a new issue