Skip to content

Commit

Permalink
Fix styling bug introduced by v0.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Reyes committed Nov 27, 2017
1 parent 47a5a31 commit 7cbe626
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.3.2
* Fix styling bug introduced by v0.3.1.

## 0.3.1
* Fix bug with duplicate events being fired. Closes #15.
* Fix application of styling for date pickers when not inline. Closes #17.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "v-calendar",
"version": "0.3.1",
"version": "0.3.2",
"description": "A clean and extendable plugin for building simple attributed calendars in Vue.js.",
"keywords": [
"vue",
Expand Down
9 changes: 7 additions & 2 deletions src/components/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,12 @@ export default {
...this.themeStyles,
};
// Strip border from the wrapper when used in a popover
if (!this.isInline && styles.wrapper) styles.wrapper.border = '0';
if (!this.isInline) {
styles.wrapper = {
...styles.wrapper,
border: '0',
};
}
return styles;
},
popoverContentStyle() {
Expand Down Expand Up @@ -342,7 +347,7 @@ export default {
};
</script>

<style lang='sass'>
<style lang='sass' scoped>
.c-input-drag
color: rgba(0, 0, 0, 0.3)
</style>

0 comments on commit 7cbe626

Please sign in to comment.