feat: auto-hide presentation toolbar when not hovered (#1887)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2022) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run

* Initial plan

* Implement auto-hide presentation toolbar feature in slide mode

Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>
This commit is contained in:
Copilot 2025-07-11 14:47:45 +08:00 committed by GitHub
parent b4a53274c2
commit d409b30f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,4 +77,15 @@
#typst-container.mode-slide #typst-container-top {
flex: 0 0 35px;
display: flex;
position: absolute;
width: 100%;
z-index: 1;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
#typst-container.mode-slide #typst-container-top:hover {
opacity: 1;
pointer-events: auto;
}