Skip to content

Commit

Permalink
fix(calendar): fix id
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Oct 7, 2022
1 parent 6bf2a54 commit 5ad5d91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/calendar/calendar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#logseq-plugin-agenda_lsp_main#logseq-plugin-agenda_lsp_main {
#logseq-agenda_lsp_main#logseq-agenda_lsp_main {
z-index: 1 !important;
width: calc(100% - var(--ls-left-sidebar-width) - var(--awUI-calc-right-sidebar-width));
height: calc(100% - var(--awUI-tabs-height) - var(--awUI-head-height))!important;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const calendarLoad = async (agendaPlugin?: HTMLElement) => {
console.log('AwesomeUI: agenda plugin not found!');
return;
}
const agendaButton = doc.querySelector('#injected-ui-item-logseq-plugin-agenda-logseq-plugin-agenda .button') as HTMLAnchorElement;
const agendaButton = doc.querySelector('#injected-ui-item-logseq-plugin-agenda-logseq-agenda .button') as HTMLAnchorElement;
if (!agendaButton) {
console.log('AwesomeUI: agenda button not found, plz pin it on toolbar and restart Logseq!');
return;
Expand Down

0 comments on commit 5ad5d91

Please sign in to comment.