aligned select height with Theia styles

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2019-12-05 10:32:40 +01:00
parent 79f588d067
commit 6af22ec9b8

View File

@ -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 => ({