summaryrefslogtreecommitdiff
path: root/src/client/ui/deck
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-28 17:00:31 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-28 17:00:31 +0900
commit948a65bf39ac53c57e4f6d950f22c7734d5b63a4 (patch)
tree88204162951a0808373636bf100b6baeac6c0fd3 /src/client/ui/deck
parent細かい修正など (diff)
downloadmisskey-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.vue11
-rw-r--r--src/client/ui/deck/deck-store.ts15
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',