mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-13 06:16:33 +00:00
aligned select height with Theia styles
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
79f588d067
commit
6af22ec9b8
@ -11,11 +11,11 @@ export class ArduinoSelect<T> extends Select<T> {
|
||||
}
|
||||
|
||||
render(): React.ReactNode {
|
||||
const height = 25;
|
||||
const height = 27; // Seems to be the hard coded constant for `input` and `textArea` in Theia.
|
||||
const styles: Styles = {
|
||||
control: styles => ({
|
||||
...styles,
|
||||
width: 200,
|
||||
minWidth: 120,
|
||||
color: 'var(--theia-ui-font-color1)'
|
||||
}),
|
||||
dropdownIndicator: styles => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user