Files
pybricks-code/src/settings/settings.scss
T
David Lechner 69ca51fbbb explorer: fix broken layout
Applying this control tweak globally broke the explorer layout. So we
now apply it to settings only.
2022-05-30 10:15:10 -05:00

23 lines
465 B
SCSS

// SPDX-License-Identifier: MIT
// Copyright (c) 2021-2022 The Pybricks Authors
// Custom styling for the settings controls.
@use '@blueprintjs/core/lib/scss/variables' as bp;
.pb-settings {
.#{bp.$ns}-control-group {
.#{bp.$ns}-button {
margin-bottom: 3px;
}
.#{bp.$ns}-input-group {
width: bp.$pt-grid-size * 20;
}
}
& .#{bp.$ns}-control {
max-width: bp.$pt-grid-size * 20;
}
}