mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:23:08 +02:00
fix deck style
This commit is contained in:
parent
c382497167
commit
cd6b1290cb
1 changed files with 7 additions and 8 deletions
|
@ -9,8 +9,7 @@
|
||||||
<!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため -->
|
<!-- sectionを利用しているのは、deck.vue側でcolumnに対してfirst-of-typeを効かせるため -->
|
||||||
<section
|
<section
|
||||||
v-if="ids.length > 1"
|
v-if="ids.length > 1"
|
||||||
:class="$style.column"
|
:class="[$style.column, $style.folder]"
|
||||||
class="folder"
|
|
||||||
: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' }"
|
: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)"/>
|
<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)"/>
|
||||||
|
@ -296,8 +295,9 @@ async function deleteProfile() {
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
border-left: solid var(--deckDividerThickness) var(--deckDivider);
|
border-left: solid var(--deckDividerThickness) var(--deckDivider);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.folder {
|
.folder {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
@ -305,7 +305,6 @@ async function deleteProfile() {
|
||||||
border-bottom: solid var(--deckDividerThickness) var(--deckDivider);
|
border-bottom: solid var(--deckDividerThickness) var(--deckDivider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.onboarding {
|
.onboarding {
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
|
|
Loading…
Reference in a new issue