Skip to content

Commit 7cbe626

Browse files
author
Nathan Reyes
committed
Fix styling bug introduced by v0.3.1.
1 parent 47a5a31 commit 7cbe626

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.3.2
2+
* Fix styling bug introduced by v0.3.1.
3+
14
## 0.3.1
25
* Fix bug with duplicate events being fired. Closes #15.
36
* Fix application of styling for date pickers when not inline. Closes #17.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v-calendar",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "A clean and extendable plugin for building simple attributed calendars in Vue.js.",
55
"keywords": [
66
"vue",

src/components/DatePicker.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,12 @@ export default {
187187
...this.themeStyles,
188188
};
189189
// Strip border from the wrapper when used in a popover
190-
if (!this.isInline && styles.wrapper) styles.wrapper.border = '0';
190+
if (!this.isInline) {
191+
styles.wrapper = {
192+
...styles.wrapper,
193+
border: '0',
194+
};
195+
}
191196
return styles;
192197
},
193198
popoverContentStyle() {
@@ -342,7 +347,7 @@ export default {
342347
};
343348
</script>
344349

345-
<style lang='sass'>
350+
<style lang='sass' scoped>
346351
.c-input-drag
347352
color: rgba(0, 0, 0, 0.3)
348353
</style>

0 commit comments

Comments
 (0)