amis2/scss/components/_chart.scss

21 lines
297 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
.#{$ns}Chart {
2020-01-10 10:40:41 +08:00
min-width: 300px;
2019-12-06 09:58:08 +08:00
min-height: 300px;
position: relative;
2019-12-06 09:58:08 +08:00
&-placeholder {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
&-content {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}