shlink-web-client/src/visits/helpers/PieChartLegend.scss

30 lines
462 B
SCSS
Raw Normal View History

@import '../../utils/base';
2021-09-18 13:59:54 +03:00
.pie-chart-legend {
list-style-type: none;
padding: 0;
margin: 0;
@media (max-width: $smMax) {
margin-top: 1rem;
}
}
2021-09-18 13:59:54 +03:00
.pie-chart-legend__item:not(:first-child) {
margin-top: .3rem;
}
2021-09-18 13:59:54 +03:00
.pie-chart-legend__item-color {
width: 20px;
min-width: 20px;
height: 20px;
margin-right: 5px;
border-radius: 10px;
}
2021-09-18 13:59:54 +03:00
.pie-chart-legend__item-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}