Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
#edgy
Browse files Browse the repository at this point in the history
  • Loading branch information
kalepail committed Jul 23, 2018
1 parent f4071ac commit 5786618
Show file tree
Hide file tree
Showing 8 changed files with 1,723 additions and 1,453 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baremetrics-calendar",
"version": "1.0.12",
"version": "1.0.13",
"homepage": "https://github.com/Baremetrics/calendar",
"authors": [
"Tyler van der Hoeven <hi@tyvdh.com>"
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.13 Update
- Microsoft Edge compatibility updates

## 1.0.12 Update


## 1.0.11 Update
- Third party library updates
- Typos and code formatting. Because I'm paranoid
Expand Down
2 changes: 1 addition & 1 deletion dev/js/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
// Once you click into a selection.. this lets you click out
this.element.on('click', function() {
document.addEventListener('click', function (event) {
var contains = $(event.target).parents('.daterange');
var contains = $(event.target).parents(self.element);

if (!contains.length) {
if (self.presetIsOpen)
Expand Down
6 changes: 4 additions & 2 deletions dev/sass/_daterange.scss
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@
border-right: none;

.dr-day-of-week {
width: calc(100% / 7);
// width: calc(100% / 7 - 0.01rem);
width: 14.28%;
text-align: center;
}
}
Expand All @@ -205,7 +206,8 @@
.dr-day {
padding: rem(5);
text-align: center;
width: calc(100% / 7);
// width: calc(100% / 7 - 0.01rem);
width: 14.28%;
cursor: pointer;
color: $body;

Expand Down
Loading

0 comments on commit 5786618

Please sign in to comment.