Dashboard: Only show resize-handle on hover (#21160)

This commit is contained in:
Torkel Ödegaard 2019-12-18 11:15:59 +01:00 committed by GitHub
parent 8c089b98b3
commit 475bd7ad09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,18 @@
@import '~react-grid-layout/css/styles.css';
@import '~react-resizable/css/styles.css';
.react-resizable-handle {
display: none;
}
.react-grid-item {
&:hover {
.react-resizable-handle {
display: initial;
}
}
}
.panel-in-fullscreen {
.react-grid-layout {
height: 100% !important;
@ -35,7 +47,7 @@
}
.react-resizable-handle {
display: none;
display: none !important;
}
// the react-grid has a height transition