Change print width to 120 (#671)

* Increase line-width to 120

* Auto-fix 100->120 columns
This commit is contained in:
Rijk van Zanten
2020-06-01 16:50:08 -04:00
committed by GitHub
parent a2d04ecd26
commit 4c2f5dc2ba
153 changed files with 453 additions and 1819 deletions

View File

@@ -7,12 +7,7 @@
:close-on-content-click="closeOnContentClick"
>
<template #activator="{ toggle, active }">
<div
v-if="inline"
class="inline-display"
:class="{ placeholder: !displayValue }"
@click="toggle"
>
<div v-if="inline" class="inline-display" :class="{ placeholder: !displayValue }" @click="toggle">
{{ displayValue || placeholder }}
<v-icon name="expand_more" :class="{ active }" />
</div>
@@ -65,11 +60,7 @@
</v-list-item-content>
</v-list-item>
<v-list-item
v-if="allowOther && multiple === false"
:active="usesOtherValue"
@click.stop
>
<v-list-item v-if="allowOther && multiple === false" :active="usesOtherValue" @click.stop>
<v-list-item-content>
<input
class="other-input"
@@ -101,9 +92,7 @@
:placeholder="$t('other')"
v-focus
@input="setOtherValue(otherValue.key, $event.target.value)"
@blur="
otherValue.value.length === 0 && setOtherValue(otherValue.key, null)
"
@blur="otherValue.value.length === 0 && setOtherValue(otherValue.key, null)"
/>
</v-list-item-content>
<v-list-item-icon>
@@ -188,11 +177,7 @@ export default defineComponent({
const { _items } = useItems();
const { displayValue } = useDisplayValue();
const { value } = toRefs(props);
const { otherValue, usesOtherValue } = useCustomSelection(
value as Ref<string>,
_items,
emit
);
const { otherValue, usesOtherValue } = useCustomSelection(value as Ref<string>, _items, emit);
const { otherValues, addOtherValue, setOtherValue } = useCustomSelectionMultiple(
value as Ref<string[]>,
_items,