fix center

This commit is contained in:
おさむのひと 2024-11-22 22:24:25 +09:00
parent 278aba6a3d
commit 0fa0665d8e

View file

@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
[needsContentCentering ? $style.center : {}], [needsContentCentering ? $style.center : {}],
]" ]"
> >
<div v-if="!editing" :class="$style.contentArea"> <div v-if="!editing" :class="[$style.contentArea]" :style="cellType === 'boolean' ? 'justify-content: center' : ''">
<div ref="contentAreaEl" :class="$style.content"> <div ref="contentAreaEl" :class="$style.content">
<div v-if="cellType === 'text'"> <div v-if="cellType === 'text'">
{{ cell.value }} {{ cell.value }}