Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Fixed visual bug in usage and limts #297

Merged
merged 2 commits into from
Feb 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/css/components/stat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ $input-font-size: $sans-s2;
border-left-color: transparent;
border-left-style: solid;
border-left-width: 0;
margin-right: $grid-1;
margin-top: 0.625rem;
min-height: 2.5rem; // Leave some space for input element when editing a stat
position: relative;
width: 14rem;
width: 13.5rem;

.error_message {
font-size: $input-font-size;
Expand Down Expand Up @@ -50,7 +51,7 @@ h5 + .stat {
}

.stat-header {
margin-left: -$grid-2;
margin-left: -$grid-1;
}
}

Expand Down Expand Up @@ -78,6 +79,7 @@ h5 + .stat {
font-weight: 600;
margin-right: $grid-1;
margin-top: 0.2rem;
text-align: right;
width: 8rem;
}

Expand All @@ -92,7 +94,7 @@ h5 + .stat {
.stat-single_box {
$v-space: $grid-2;
background-color: $color-lightestgray;
margin: -$v-space 1.8rem;
margin: -0.4rem 1.8rem;
min-height: 10rem;
padding: $v-space 0;
position: relative;
Expand All @@ -119,7 +121,8 @@ h5 + .stat {
margin: 0;
padding-bottom: 0.3rem;
padding-top: 0.3rem;
width: 6rem;
width: 5rem;
vertical-align: middle;
// stylelint-enable
}

Expand Down