Skip to content

Commit

Permalink
fix: add a padding top to make tabs & content fit nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Apr 6, 2022
1 parent 465c5a7 commit 04e4bdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ UX is mainly brought from modern browsers:

## Keyboard shortcuts

Note: replace <kbd>SHIFT</kbd> with <kbd>CMD</kbd> on macOS

- Pin/unpin a tab: <kbd>CTRL</kbd> + <kbd>P</kbd>
- Close a tab: <kbd>SHIFT</kbd> + <kbd>CTRL</kbd> + <kbd>W</kbd>

Expand Down
6 changes: 5 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ function main() {
[data-active-keystroke=${mac ? "Meta" : "Control"} i]
:is(.block-ref,.page-ref,a.tag) {
cursor: n-resize
}`);
}
#main-content-container {
padding-top: 64px;
}
`);

const root = ReactDOM.createRoot(document.getElementById("app")!);
root.render(
Expand Down

0 comments on commit 04e4bdf

Please sign in to comment.