Merge branch 'bug/reduce-event-date-picker-width' into 'master'
Reduced datetime picker width See merge request framasoft/mobilizon!302
This commit is contained in:
commit
e799b8a77f
@ -56,6 +56,7 @@ In order to move participant stats to the event table for existing events, you n
|
|||||||
- Added missing `setup_db.psql` file (Geno)
|
- Added missing `setup_db.psql` file (Geno)
|
||||||
- Fixed docker setup when using non-GNU make (JohanBaskovec)
|
- Fixed docker setup when using non-GNU make (JohanBaskovec)
|
||||||
- Fixed actors deletion that didn't cascade to followers
|
- Fixed actors deletion that didn't cascade to followers
|
||||||
|
- Reduced datetime picker input width
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
- Sanitize event title to avoid XSS
|
- Sanitize event title to avoid XSS
|
||||||
|
@ -12,26 +12,32 @@
|
|||||||
```
|
```
|
||||||
</docs>
|
</docs>
|
||||||
<template>
|
<template>
|
||||||
<b-field grouped horizontal :label="label">
|
<div class="field is-horizontal">
|
||||||
|
<div class="field-label is-normal">
|
||||||
|
<label class="label">{{ label }}</label>
|
||||||
|
</div>
|
||||||
|
<div class="field-body">
|
||||||
|
<div class="field is-narrow is-grouped">
|
||||||
<b-datepicker
|
<b-datepicker
|
||||||
:day-names="localeShortWeekDayNamesProxy"
|
:day-names="localeShortWeekDayNamesProxy"
|
||||||
:month-names="localeMonthNamesProxy"
|
:month-names="localeMonthNamesProxy"
|
||||||
expanded
|
|
||||||
:first-day-of-week="parseInt($t('firstDayOfWeek'), 10)"
|
:first-day-of-week="parseInt($t('firstDayOfWeek'), 10)"
|
||||||
:min-date="minDate"
|
:min-date="minDate"
|
||||||
v-model="dateWithoutTime"
|
v-model="dateWithoutTime"
|
||||||
:placeholder="$t('Click to select')"
|
:placeholder="$t('Click to select')"
|
||||||
icon="calendar"
|
icon="calendar"
|
||||||
|
class="is-narrow"
|
||||||
/>
|
/>
|
||||||
<b-timepicker
|
<b-timepicker
|
||||||
placeholder="Type or select a time..."
|
placeholder="Type or select a time..."
|
||||||
icon="clock"
|
icon="clock"
|
||||||
v-model="dateWithTime"
|
v-model="dateWithTime"
|
||||||
expanded
|
|
||||||
size="is-small"
|
size="is-small"
|
||||||
inline>
|
inline>
|
||||||
</b-timepicker>
|
</b-timepicker>
|
||||||
</b-field>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
|
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
|
||||||
|
Loading…
Reference in New Issue
Block a user