Files
redash/client/app/components/dashboards/widget.less
Levko Kravets be9bcaeb3d Multiple fixes:
* Fix: line chart with category x-axis: when some values missing, wrong hints displayed on hover
* Fix: second Y-axis not displayed when stacking enabled
* Set of dashboard improvements and bug fixes
    - set minimal height of widgets to 1 (was 4)
    - bug: for some widgets auto-height wasn't calculated properly (sometimess too small, sometimes too large)
    - bug: for small widgets, top-right menu was cut to widgets bounds
    - bug: with opened top-right menu widgets with auto-height started "dancing"
    - bug: at some point auto-height feature was disabling by itself (in fact - it depends on `angular-grindter`s internal processes)
    - fix: widget with empty contents had extra 40px of white space (paddings of container)
* Add scrollbars to pivot table widgets
* Fix: 100% CPU loading caused page lags
2018-03-23 19:25:21 +03:00

65 lines
925 B
Plaintext

.widget-wrapper {
.body-container {
display: flex;
flex-direction: column;
align-items: stretch;
.body-row {
flex: 0 1 auto;
}
.body-row-auto {
flex: 1 1 auto;
}
}
.spinner-container {
position: relative;
.spinner {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}
.dropdown-header {
padding: 0;
.actions {
position: static;
}
}
.t-header.widget {
.dropdown {
margin-top: -15px;
margin-right: -15px;
.actions {
position: static;
}
}
}
.scrollbox:empty {
padding: 0 !important;
font-size: 1px !important;
}
.widget-text {
:first-child {
margin-top: 0;
}
:last-child {
margin-bottom: 0;
}
}
}