Skip to content

Commit

Permalink
fix(DateRange): update dash position and color
Browse files Browse the repository at this point in the history
also fixed incorrect spelling within the code

ISSUES CLOSED: #1716
  • Loading branch information
benjamincharity committed Oct 30, 2019
1 parent 67f10d1 commit 97b4c10
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
9 changes: 7 additions & 2 deletions terminus-ui/date-range/src/date-range.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<div class="c-date-range qa-date-range" fxLayout="row">
<div
class="c-date-range qa-date-range"
fxLayout="row"
fxLayoutAlign="start center"
fxLayoutGap=".6em"
>
<ts-input
class="c-date-range--start qa-date-range-start-datepicker"
[formControl]="internalStartControl"
Expand All @@ -15,7 +20,7 @@
#start
></ts-input>

<span class="c-date-range__seperator">
<span class="c-date-range__separator">
{{ separator }}
</span>

Expand Down
10 changes: 6 additions & 4 deletions terminus-ui/date-range/src/date-range.component.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './../../scss/helpers/color';
@import './../../scss/helpers/reset';


Expand All @@ -13,9 +14,10 @@
}

.c-date-range {
.c-date-range__seperator {
$seperator-spacing: 1.8em .6em;

margin: $seperator-spacing;
.c-date-range__separator {
// NOTE: Needed to offset the space created for validation messages
$negative-adjustment: -1.2em;
color: color(utility);
margin-top: $negative-adjustment;
}
}

0 comments on commit 97b4c10

Please sign in to comment.