mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user