Skip to content

Commit 4e93661

Browse files
committed
Update css
1 parent 5fbd4b5 commit 4e93661

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/views/config-v2/DatabaseCredentialsSection.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const DatabaseCredentialsSection = (props: Props) => {
7979
</Field>
8080
<Field
8181
label={labels.password.label}
82-
description={<div style={{ marginTop: '5px' }}>{labels.password.tooltip}</div>}
82+
description={<div className={styles.passwordDescription}>{labels.password.tooltip}</div>}
8383
>
8484
<SecretInput
8585
name="pwd"
@@ -100,6 +100,9 @@ export const DatabaseCredentialsSection = (props: Props) => {
100100
};
101101

102102
const getStyles = () => ({
103+
passwordDescription: css({
104+
marginTop: '5px',
105+
}),
103106
credentialsSection: css({
104107
display: 'flex',
105108
flexWrap: 'wrap',

0 commit comments

Comments
 (0)