Files
pybricks-code/src/explorer/explorer.scss
T
David Lechner a835934028 explorer: render file toolbar on hover
This improves performance by only rendering the toolbar for each file
when it is actually shown.
2022-06-15 12:03:29 -05:00

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;
}
}
}