Skip to content

Commit

Permalink
fix emotion model labels
Browse files Browse the repository at this point in the history
  • Loading branch information
JAMES ZHANG committed Feb 26, 2016
1 parent b0fef11 commit c10ad5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1549,13 +1549,19 @@ pre[class*=" language-"] {
right: 0rem;
width: calc(100% - 4rem); }
.summary-emotion-graph--legend-label {
width: calc(33.33333% - 0rem);
position: absolute;
margin-right: 0rem;
display: block;
float: left;
margin-top: 0rem;
text-align: center;
font-size: 0.8rem; }
.summary-emotion-graph--legend-label_medium {
left: 50%;
margin-left: -1.4rem; }
.summary-emotion-graph--legend-label_high {
left: 75%;
margin-left: -1rem; }
.summary-emotion-graph--legend-label:nth-of-type(3n) {
margin-right: 0rem; }
@media (min-width: 768px) {
Expand Down
5 changes: 2 additions & 3 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,8 @@
</div>
<% if (key === list.length - 1 && item.thresholdLow) { %>
<div class="summary-<%= className %>-graph--legend-label-container">
<div class="summary-<%= className %>-graph--legend-label">Low evidence</div>
<div class="summary-<%= className %>-graph--legend-label">Medium</div>
<div class="summary-<%= className %>-graph--legend-label">High</div>
<div class="summary-<%= className %>-graph--legend-label summary-<%= className %>-graph--legend-label_medium">Medium</div>
<div class="summary-<%= className %>-graph--legend-label summary-<%= className %>-graph--legend-label_high">High</div>
</div>
<% } %>
<% }); %>
Expand Down

0 comments on commit c10ad5f

Please sign in to comment.