-
Notifications
You must be signed in to change notification settings - Fork 0
Fix canvas z-index and right sidebar overflow into menubar #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -32,10 +32,10 @@ | |||||||||||||
| </script> | ||||||||||||||
|
|
||||||||||||||
| <div class="ts-app-surface flex flex-col items-stretch overflow-hidden"> | ||||||||||||||
| <Overlay /> | ||||||||||||||
|
|
||||||||||||||
| <canvas id="DFA" class="ts-canvas" tabindex="0"></canvas> | ||||||||||||||
|
|
||||||||||||||
| <Overlay /> | ||||||||||||||
|
|
||||||||||||||
|
Comment on lines
35
to
+38
|
||||||||||||||
| <canvas id="DFA" class="ts-canvas" tabindex="0"></canvas> | |
| <Overlay /> | |
| <Overlay /> | |
| <canvas id="DFA" class="ts-canvas" tabindex="0"></canvas> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
top-16 bottom-0reduces the available sidebar height, but withflex-col justify-endthe sidebar can still overflow upward when its contents are taller than the available space (the overflow will simply extend abovetop-16). To actually prevent overlap into the menubar in the “content exceeds viewport” case, consider making the sidebar region scrollable (e.g.,overflow-y-auto) and/or changing the layout so only the bottom element is anchored (e.g., usemt-autoon the bottom section instead ofjustify-end).