mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 18:46:17 +00:00
This improves performance by only rendering the toolbar for each file when it is actually shown.
24 lines
534 B
SCSS
24 lines
534 B
SCSS
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2022 The Pybricks Authors
|
|
|
|
@use '@blueprintjs/core/lib/scss/variables' as bp;
|
|
|
|
.pb-explorer {
|
|
&-header-toolbar {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&-file-tree {
|
|
// don't need extra padding around toolbar
|
|
& .#{bp.$ns}-tree-node-secondary-label {
|
|
padding: unset;
|
|
}
|
|
|
|
// fix layout since we are nesting toolbar in button group
|
|
&-action-toolbar {
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
}
|