feat(client): make size of reaction picker configuable
This commit is contained in:
		| @@ -17,12 +17,18 @@ | ||||
| 		<template #caption>{{ $ts.reactionSettingDescription2 }} <button class="_textButton" @click="preview">{{ $ts.preview }}</button></template> | ||||
| 	</FromSlot> | ||||
|  | ||||
| 	<FormRadios v-model="reactionPickerWidth" class="_formBlock"> | ||||
| 		<template #label>{{ $ts.width }}</template> | ||||
| 	<FormRadios v-model="reactionPickerSize" class="_formBlock"> | ||||
| 		<template #label>{{ $ts.size }}</template> | ||||
| 		<option :value="1">{{ $ts.small }}</option> | ||||
| 		<option :value="2">{{ $ts.medium }}</option> | ||||
| 		<option :value="3">{{ $ts.large }}</option> | ||||
| 	</FormRadios> | ||||
| 	<FormRadios v-model="reactionPickerWidth" class="_formBlock"> | ||||
| 		<template #label>{{ $ts.numberOfColumn }}</template> | ||||
| 		<option :value="1">5</option> | ||||
| 		<option :value="2">6</option> | ||||
| 		<option :value="3">7</option> | ||||
| 	</FormRadios> | ||||
| 	<FormRadios v-model="reactionPickerHeight" class="_formBlock"> | ||||
| 		<template #label>{{ $ts.height }}</template> | ||||
| 		<option :value="1">{{ $ts.small }}</option> | ||||
| @@ -60,6 +66,7 @@ import { i18n } from '@/i18n'; | ||||
|  | ||||
| let reactions = $ref(JSON.parse(JSON.stringify(defaultStore.state.reactions))); | ||||
|  | ||||
| const reactionPickerSize = $computed(defaultStore.makeGetterSetter('reactionPickerSize')); | ||||
| const reactionPickerWidth = $computed(defaultStore.makeGetterSetter('reactionPickerWidth')); | ||||
| const reactionPickerHeight = $computed(defaultStore.makeGetterSetter('reactionPickerHeight')); | ||||
| const reactionPickerUseDrawerForMobile = $computed(defaultStore.makeGetterSetter('reactionPickerUseDrawerForMobile')); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo