Fix tab three-dot menu: always visible and no longer clipped by scroll container#42
Merged
ThisIs-Developer merged 5 commits intomainfrom Mar 9, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Deploying markdown-viewer with
|
| Latest commit: |
68c4b22
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e18b277f.markdown-viewer.pages.dev |
| Branch Preview URL: | https://copilot-fix-document-tab-vis.markdown-viewer.pages.dev |
Deploying markdownviewer with
|
| Latest commit: |
68c4b22
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d3927481.markdownviewer.pages.dev |
| Branch Preview URL: | https://copilot-fix-document-tab-vis.markdownviewer.pages.dev |
Copilot
AI
changed the title
[WIP] Fix Document tab visibility issue in markdown editor
Fix Document tab hidden by editor/preview panes (z-index stacking)
Mar 9, 2026
…ve on .app-header, add flex-shrink:0 and overflow:hidden Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Copilot
AI
changed the title
Fix Document tab hidden by editor/preview panes (z-index stacking)
Fix document tab bar hidden by sticky header in Safari/cross-browser flex layouts
Mar 9, 2026
…y default Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Copilot
AI
changed the title
Fix document tab bar hidden by sticky header in Safari/cross-browser flex layouts
Fix tab bar visibility and always-show three-dot menu button
Mar 9, 2026
…ixed + getBoundingClientRect positioning Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Copilot
AI
changed the title
Fix tab bar visibility and always-show three-dot menu button
Fix tab three-dot menu: always visible and no longer clipped by scroll container
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The three-dot (⋯) file options button was invisible on inactive tabs, and when shown, its dropdown was clipped underneath other content regardless of
z-index.Before (the bug in the screenshot): only the active "Untitled 1" tab shows ⋯; "Welcome to Markdo..." tab shows nothing, and clicking ⋯ produced a dropdown hidden behind the tab bar.
Two separate fixes
1. Button always visible (
styles.css)opacity: 0default made the button invisible until hover/active. Changed toopacity: 0.65so it's always present on every tab.2. Dropdown escapes overflow clipping (
styles.css+script.js).tab-list { overflow-x: auto }silently promotesoverflow-ytoautoper spec, creating a scroll/clip container that swallows absolutely-positioned descendants at anyz-index. Fix: switch toposition: fixed+ JS-computed viewport coordinates on open.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.