mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
554 B
33 lines
554 B
@import 'apps/client/src/styles/ghostfolio-style';
|
|
|
|
:host {
|
|
display: block;
|
|
|
|
.chart-container {
|
|
aspect-ratio: 16 / 9;
|
|
height: auto;
|
|
max-width: 50rem;
|
|
|
|
// Fallback for aspect-ratio (using padding hack)
|
|
@supports not (aspect-ratio: 16 / 9) {
|
|
&::before {
|
|
float: left;
|
|
padding-top: 56.25%;
|
|
content: '';
|
|
}
|
|
|
|
&::after {
|
|
display: block;
|
|
content: '';
|
|
clear: both;
|
|
}
|
|
}
|
|
|
|
gf-line-chart {
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
}
|
|
|