firmware/installPybricksDialog: fix hub name error icon style

This commit is contained in:
David Lechner
2023-02-16 14:10:07 -06:00
committed by David Lechner
parent 63597e4b88
commit ac00b82cab
2 changed files with 16 additions and 4 deletions
@@ -408,7 +408,7 @@ const ConfigureOptionsPanel: React.VoidFunctionComponent<SelectOptionsPanelProps
<Icon
icon="error"
intent={Intent.DANGER}
itemType="div"
tagName="div"
/>
)
}
+15 -3
View File
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2022 The Pybricks Authors
// Copyright (c) 2020-2023 The Pybricks Authors
// css files
@use 'normalize.css/normalize';
@@ -175,8 +175,20 @@ a.#{bp.$ns}-button {
font-weight: bolder;
}
.#{bp.$ns}-input-group .#{bp.$ns}-icon {
margin: 7px;
.#{bp.$ns}-input-group {
& .#{bp.$ns}-icon {
margin: 7px;
&.#{bp.$ns}-intent-danger {
color: bp.$red4;
}
}
& .#{bp.$ns}-input-action {
bottom: 0;
display: flex;
align-items: center;
}
}
// don't take up so much space when there is no caret