Skip to content

Commit

Permalink
Merge branch 'anyproto:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirayukiRin authored Feb 3, 2025
2 parents 33512e3 + 8fe45df commit 3c537ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/json/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export default {
date: 'ot-date',
profile: 'ot-profile',
chat: 'ot-chat',
project: 'ot-project',
human: 'ot-human',
},

templateId: {
Expand Down
6 changes: 4 additions & 2 deletions src/scss/menu/publish.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
}
.button {
flex-shrink: 0; font-weight: 500; @include text-small; color: var(--color-text-primary); height: 18px; padding: 0px 4px;
border-radius: 4px; transition: $transitionAllCommon;
border-radius: 4px; transition: $transitionAllCommon; display: none;
}
.button:hover { background-color: var(--color-shape-highlight-medium) !important; }
}
.urlWrapper:hover {
.button { display: block; }
}

.buttons { display: flex; flex-direction: row; align-items: center; gap: 0px 8px; justify-content: space-evenly; height: 36px; }
Expand Down
7 changes: 6 additions & 1 deletion src/ts/lib/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,14 @@ class Storage {
};

const keys = [
J.Constant.typeKey.note,
J.Constant.typeKey.page,
J.Constant.typeKey.task,
J.Constant.typeKey.collection,
J.Constant.typeKey.set,
J.Constant.typeKey.bookmark,
J.Constant.typeKey.note,
J.Constant.typeKey.project,
J.Constant.typeKey.human,
];

for (const key of keys) {
Expand Down

0 comments on commit 3c537ad

Please sign in to comment.