Panels: Add support for panels with no padding (#20012)

* Panels: Added support to set panel padding to zero

* WIP: fullChromeControl work

* Tweaks to header position

* Reverted some overlay mechanic and now back to no title only

* Fixed test

* Fixed transparent flag

* Added show title

* Added font weight to value

* Reverted back to no padding option

* Fixed issue with border and width and height
This commit is contained in:
Torkel Ödegaard
2019-11-25 13:26:18 -08:00
committed by GitHub
parent a4a9715237
commit 65942efb95
12 changed files with 100 additions and 54 deletions

View File

@@ -55,8 +55,8 @@ div.flot-text {
height: 100%;
width: 100%;
&.panel-transparent {
background-color: transparent;
&--transparent {
background-color: $page-bg;
border: none;
}
@@ -82,8 +82,11 @@ div.flot-text {
height: calc(100% - #{$panel-header-height});
width: 100%;
position: relative;
// Fixes scrolling on mobile devices
overflow: auto;
&--no-padding {
padding: 0;
}
}
// For larger screens, set back to hidden to avoid double scroll bars