Skip to content

Commit

Permalink
also fix selection highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
rashfael committed Apr 25, 2018
1 parent 353453e commit dc64d61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/datepicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
.weekday Fr
.weekday Sa
.weekday So
.day(v-for="day in Array.from({length: activeMonth.daysInMonth()}, (v, k) => k)", :class="{active: value.isSame(activeMonth.clone().set('day', day), 'day')}", :style="{'grid-column': ((day + startingDay) % 7) || 7, 'grid-row': Math.ceil((day + startingDay) / 7) + 1}", @click="selectDay(day + 1)") {{ day + 1 }}
.day(v-for="day in Array.from({length: activeMonth.daysInMonth()}, (v, k) => k)", :class="{active: value.isSame(activeMonth.clone().set('date', day + 1), 'day')}", :style="{'grid-column': ((day + startingDay) % 7) || 7, 'grid-row': Math.ceil((day + startingDay) / 7) + 1}", @click="selectDay(day + 1)") {{ day + 1 }}
.timepicker
.bunt-input.dense
input(ref="hours", name="hours", :value="value.format('HH')", @mousedown="yieldToTimeInputs = true", @blur="onTimeBlur")
Expand Down
2 changes: 1 addition & 1 deletion client/src/views/events/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default {
resize: none
border: none
min-height: 512px
.actions
> .actions
display: flex
flex: 1 0 auto
padding-bottom: 24px
Expand Down

0 comments on commit dc64d61

Please sign in to comment.