Skip to content

Commit

Permalink
fix: tabs width when pdf is on
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Oct 12, 2021
1 parent cd5afcd commit 6df1e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function useAdaptMainUIStyle(show: boolean, tabsWidth?: number | null) {

const listener = () => {
const { left: leftOffset, width } = mainContainer.getBoundingClientRect();
const maxWidth = width - leftOffset - 10;
const maxWidth = width - 10;
logseq.setMainUIInlineStyle({
zIndex: 9,
userSelect: "none",
Expand Down

0 comments on commit 6df1e41

Please sign in to comment.