Skip to content

Commit 600cbdc

Browse files
committed
fix toggle switch styles
1 parent 84350b5 commit 600cbdc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/features/decoder/components/encoding-format-toggle-swith/encoding-format-toggle-switch.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
@use "@/libs/theme/styles/variables" as *;
22

3-
.encoder_switch {
3+
.base_switch {
44
display: flex;
5-
width: 100%;
65
justify-content: flex-end;
76
}
87

8+
.encoder {
9+
width: 100%;
10+
}
11+
912
.container {
1013
display: flex;
1114
align-items: center;

src/features/decoder/components/encoding-format-toggle-swith/encoding-format-toggle-switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const EncodingFormatToggleSwitchComponent: React.FC<
4040
};
4141

4242
return (
43-
<div className={styles.encoder_switch}>
43+
<div className={clsx(styles.base_switch, isEncoding && styles.encoder)}>
4444
<div className={styles.container}>
4545
<div className={styles.label}>
4646
<span className={styles.fullLabel}>Base64URL Encoded?</span>

0 commit comments

Comments
 (0)