mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 18:46:17 +00:00
Applying this control tweak globally broke the explorer layout. So we now apply it to settings only.
23 lines
465 B
SCSS
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;
|
|
}
|
|
}
|