Skip to content

Commit

Permalink
Fix Update button from falling out, add date range labels
Browse files Browse the repository at this point in the history
  • Loading branch information
cmonez committed Feb 2, 2021
1 parent 9880432 commit 534ce1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions webapp/javascript/components/DateRangePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function DateRangePicker() {
))}
</div>
<h4>Custom Date Range</h4>
<div className="drp-label">From</div>
<div className="drp-calendar-input-group">
<DatePicker
className="followed-by-btn"
Expand All @@ -112,6 +113,7 @@ function DateRangePicker() {
Update
</button>
</div>
<div className="drp-label">To</div>
<div className="drp-calendar-input-group">
<DatePicker
className="followed-by-btn"
Expand Down
8 changes: 7 additions & 1 deletion webapp/sass/components/daterangepicker.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use "../variables" as *;
@use "../mixins/outline" as *;
/**
/**
* DatePicker Compenent styles
* TODO: adjust styling
*/
Expand All @@ -13,6 +13,10 @@
text-overflow: ellipsis;
}

.drp-label {
margin-bottom: -10px;
}

.drp-container {
position: relative;
svg {
Expand Down Expand Up @@ -77,5 +81,7 @@

.drp-calendar-input-group {
margin-top: 15px;
display: flex;
flex-direction: row;
}
}

0 comments on commit 534ce1f

Please sign in to comment.