mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +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() {
|
private _getDefaultHeight() {
|
||||||
return Math.max(this.clientWidth / 2, 400);
|
return Math.max(this.clientWidth / 2, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
private _handleZoomReset() {
|
private _handleZoomReset() {
|
||||||
@ -470,7 +470,7 @@ export class HaChartBase extends LitElement {
|
|||||||
}
|
}
|
||||||
.chart-container {
|
.chart-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: var(--chart-max-height, 400px);
|
max-height: var(--chart-max-height, 300px);
|
||||||
}
|
}
|
||||||
.chart {
|
.chart {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user