Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Fix charts in comparison page
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McLeod committed Jun 18, 2015
1 parent ae62781 commit 806e545
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
37 changes: 37 additions & 0 deletions app/less/charts.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
.chart {
.user-select-none();
display: inline-block;
margin: 0;
cursor: default;
overflow: hidden;
width: 33%;
box-sizing: border-box;

.tablet({
width: 50%;
});

.largePhone({
width: 100%;
});

.medPhone({
.axis {
font-size: 0.8em;

g.tick:nth-child(2n + 1) text {
display: none;
}
}
});

h3 {
text-align: center;

&[ng-click] {
cursor: pointer;
}

}
}

svg {

.axis {
Expand Down
4 changes: 2 additions & 2 deletions app/views/page-outfit.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ <h1>Utility Mounts</h1>

<div class="group semi">
<h1>Jump Range</h1>
<div class="chart" area-chart config="jrChart" series="jrSeries"></div>
<div area-chart config="jrChart" series="jrSeries"></div>
</div>

<div class="group semi">
<h1>Total Range</h1>
<div class="chart" area-chart config="trChart" series="trSeries"></div>
<div area-chart config="trChart" series="trSeries"></div>
</div>

<div class="group dbl">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coriolis_shipyard",
"version": "0.13.0",
"version": "0.13.1",
"repository": {
"type": "git",
"url": "https://github.com/cmmcleod/coriolis"
Expand Down

0 comments on commit 806e545

Please sign in to comment.