diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-12-28 17:00:31 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-12-28 17:00:31 +0900 |
| commit | 948a65bf39ac53c57e4f6d950f22c7734d5b63a4 (patch) | |
| tree | 88204162951a0808373636bf100b6baeac6c0fd3 /src/client/ui/deck | |
| parent | 細かい修正など (diff) | |
| download | misskey-948a65bf39ac53c57e4f6d950f22c7734d5b63a4.tar.gz misskey-948a65bf39ac53c57e4f6d950f22c7734d5b63a4.tar.bz2 misskey-948a65bf39ac53c57e4f6d950f22c7734d5b63a4.zip | |
some fixes
Diffstat (limited to 'src/client/ui/deck')
| -rw-r--r-- | src/client/ui/deck/column.vue | 11 | ||||
| -rw-r--r-- | src/client/ui/deck/deck-store.ts | 15 |
2 files changed, 22 insertions, 4 deletions
diff --git a/src/client/ui/deck/column.vue b/src/client/ui/deck/column.vue index 4e9d9426e6..2614eecf93 100644 --- a/src/client/ui/deck/column.vue +++ b/src/client/ui/deck/column.vue @@ -316,8 +316,15 @@ export default defineComponent({ } &.paged { - > div { - background: var(--bg); + background: var(--bg) !important; + + > header { + background: transparent; + box-shadow: none; + + > button { + color: var(--fg); + } } } diff --git a/src/client/ui/deck/deck-store.ts b/src/client/ui/deck/deck-store.ts index 9bdb6c20ed..3d2e1873d3 100644 --- a/src/client/ui/deck/deck-store.ts +++ b/src/client/ui/deck/deck-store.ts @@ -1,3 +1,4 @@ +import { i18n } from '@/i18n'; import { markRaw } from 'vue'; import { Storage } from '../../pizzax'; @@ -22,11 +23,21 @@ function copy<T>(x: T): T { export const deckStore = markRaw(new Storage('deck', { columns: { where: 'deviceAccount', - default: [] as Column[] + default: [{ + id: 'a', + type: 'main', + name: i18n.locale._deck._columns.main, + width: 350, + }, { + id: 'b', + type: 'notifications', + name: i18n.locale._deck._columns.notifications, + width: 330, + }] as Column[] }, layout: { where: 'deviceAccount', - default: [] as Column['id'][][] + default: [['a'], ['b']] as Column['id'][][] }, columnAlign: { where: 'deviceAccount', |