[Update] Config Window: Setting Box. Put the design to label component.
This commit is contained in:
@@ -3,8 +3,8 @@ import styles from "./LabelComponent.module.scss";
|
|||||||
export const LabelComponent = (props) => {
|
export const LabelComponent = (props) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.label_component}>
|
<div className={styles.label_component}>
|
||||||
<p>{props.label}</p>
|
<p className={styles.label}>{props.label}</p>
|
||||||
<p>{props.desc}</p>
|
<p className={styles.desc}>{props.desc}</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -1,3 +1,17 @@
|
|||||||
.label_component {
|
.label_component {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--dark_basic_text_color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.desc {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 300;
|
||||||
|
color: var(--dark_500_color);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user