Chart performance tweaks, UI tweaks

This commit is contained in:
Colin McLeod
2015-06-15 21:46:55 -07:00
parent bee4f7e6bc
commit b94e6126cd
4 changed files with 47 additions and 82 deletions

View File

@@ -1,29 +1,14 @@
.chart {
.user-select-none();
display: inline-block;
margin: 0;
cursor: default;
overflow: hidden;
.medPhone({
.axis {
font-size: 0.8em;
width: 33%;
box-sizing: border-box;
.tablet({
width: 50%;
});
.largePhone({
width: 100%;
});
h3 {
text-align: center;
&[ng-click] {
cursor: pointer;
g.tick:nth-child(2n + 1) text {
display: none;
}
}
}
});
}
svg {