Skip to content

Commit

Permalink
Apply styles from wireframe
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyMFarley committed Aug 9, 2017
1 parent 7425ee7 commit b756bf4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Filters/DateFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class DateFilter extends React.Component {
_renderDateInput( label, field ) {
return (
<div className="flex-all">
<label className="a-label a-label__heading">{ label }</label>
<label className="a-label a-label__heading body-copy">{ label }</label>
<input type="date"
aria-describedby={'input-error_message-' + field}
className={ this._lookupStyle( field ) }
Expand Down
5 changes: 5 additions & 0 deletions src/Filters/DateFilter.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
@import (less) "../base.less";

.date-filter {
h5 {
margin-bottom:0;
}

input[type=date] {
color: @gray;
font-size: @size-vi;
}

Expand Down
8 changes: 4 additions & 4 deletions src/Filters/__tests__/__snapshots__/DateFilter.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`component::DateFilter snapshot shows errors 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
From:
</label>
<input
Expand All @@ -39,7 +39,7 @@ exports[`component::DateFilter snapshot shows errors 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
Through:
</label>
<input
Expand Down Expand Up @@ -111,7 +111,7 @@ exports[`component::DateFilter snapshot supports no dates in the Redux Store 1`]
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
From:
</label>
<input
Expand All @@ -126,7 +126,7 @@ exports[`component::DateFilter snapshot supports no dates in the Redux Store 1`]
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
Through:
</label>
<input
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/App.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ exports[`initial state renders without crashing 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
From:
</label>
<input
Expand All @@ -211,7 +211,7 @@ exports[`initial state renders without crashing 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
Through:
</label>
<input
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/FilterPanel.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ exports[`initial state renders without crashing 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
From:
</label>
<input
Expand All @@ -63,7 +63,7 @@ exports[`initial state renders without crashing 1`] = `
<div
className="flex-all">
<label
className="a-label a-label__heading">
className="a-label a-label__heading body-copy">
Through:
</label>
<input
Expand Down

0 comments on commit b756bf4

Please sign in to comment.