mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Reduce chart height to 300px (#23979)
This commit is contained in:
parent
653aeae3d8
commit
b15b577057
@ -440,7 +440,7 @@ export class HaChartBase extends LitElement {
|
||||
}
|
||||
|
||||
private _getDefaultHeight() {
|
||||
return Math.max(this.clientWidth / 2, 400);
|
||||
return Math.max(this.clientWidth / 2, 300);
|
||||
}
|
||||
|
||||
private _handleZoomReset() {
|
||||
@ -470,7 +470,7 @@ export class HaChartBase extends LitElement {
|
||||
}
|
||||
.chart-container {
|
||||
position: relative;
|
||||
max-height: var(--chart-max-height, 400px);
|
||||
max-height: var(--chart-max-height, 300px);
|
||||
}
|
||||
.chart {
|
||||
width: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user