Skip to content

Commit 6080d54

Browse files
committed
feat: enhance styling for EditorInput and SelectInput components
1 parent 03a40e9 commit 6080d54

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

src/components/form/EditorInput.style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@
2020
align-self: stretch;
2121
padding-left: 0;
2222
}
23+
24+
.cm-cursor {
25+
border-width: 2px;
26+
border-radius: 50rem;
27+
border-color: white;
28+
}
2329
}

src/components/form/InputWrapper.style.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@
4141
gap: $padding;
4242
margin: $padding / 4 $padding / 4;
4343

44-
> button {
45-
height: 100%;
46-
padding-left: 0;
47-
padding-right: 0;
48-
}
49-
5044
&--action {
5145
padding: 0;
5246
}

src/components/form/SelectInput.style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
}
4242

4343
&__trigger {
44-
height: stretch;
4544
width: 100%;
4645
position: relative;
4746
align-self: stretch;

src/components/form/SelectInput.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const SelectInput: React.FC<SelectProps> = (props) => {
3131
...rest, onValueChange: (value: string) => {
3232
formValidation?.setValue(value)
3333
rest.onValueChange?.(value)
34-
props.onChange?.({} as any)
3534
}
3635
}) as SelectProps}/>
3736
</InputWrapper>

0 commit comments

Comments
 (0)