diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-12-29 17:40:53 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-12-29 17:40:53 +0900 |
| commit | d815838762425d08e3466f7efca5c3ffcf646e7f (patch) | |
| tree | 40e83130915cc96d33ecad0d4a838f6e9e1d1d48 /src/client/ui/deck.vue | |
| parent | モバイルの下のやつ改修 (diff) | |
| download | sharkey-d815838762425d08e3466f7efca5c3ffcf646e7f.tar.gz sharkey-d815838762425d08e3466f7efca5c3ffcf646e7f.tar.bz2 sharkey-d815838762425d08e3466f7efca5c3ffcf646e7f.zip | |
カラムのフレキシブル設定を上下分割されていても適用するように
Diffstat (limited to 'src/client/ui/deck.vue')
| -rw-r--r-- | src/client/ui/deck.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ui/deck.vue b/src/client/ui/deck.vue index 9d11a89330..099a6f60c6 100644 --- a/src/client/ui/deck.vue +++ b/src/client/ui/deck.vue @@ -8,7 +8,7 @@ <!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため --> <section v-if="ids.length > 1" class="folder column" - :style="{ width: Math.max(...columns.filter(c => ids.includes(c.id)).map(c => c.width)) + 'px' }" + :style="columns.filter(c => ids.includes(c.id)).some(c => c.flexible) ? { flex: 1, minWidth: '350px' } : { width: Math.max(...columns.filter(c => ids.includes(c.id)).map(c => c.width)) + 'px' }" > <DeckColumnCore v-for="id in ids" :ref="id" :key="id" :column="columns.find(c => c.id === id)" :is-stacked="true" @parent-focus="moveFocus(id, $event)"/> </section> |