Skip to content

Commit

Permalink
Merge commit '6a6e01bb88387916ca12bbb030e86177edacf3eb'
Browse files Browse the repository at this point in the history
  • Loading branch information
isosphere committed Jan 19, 2024
2 parents d94fe7f + 6a6e01b commit 65a8415
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "logseq-journals-nextprev",
"description": "Provides buttons to jump to the next or previous journal entry",
"version": "1.1.1",
"version": "1.1.2",
"main": "dist/index.html",
"author": "Matthew Scheffel",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ function main () {
`,
})

logseq.provideStyle(`
body[data-page="page"] div#left-container:not(:has(div#main-content-container div.page.is-journals)) div#head :is(a#next-day-button,a#prev-day-button){
opacity: 0.3;
cursor: not-allowed;
}
`)

// main UI
app = createApp(App).mount('#app')
Expand Down

0 comments on commit 65a8415

Please sign in to comment.