WIP: Feature/layout fixes - #31
Open
pietrushnic wants to merge 2 commits into
Open
Conversation
- Disable HMR error overlay to reduce memory consumption - Add file watching optimizations (disable polling, 1s interval) - Ignore slides/tools/** and slides/slidev-template/** patterns to prevent infinite symlink loop in file watcher (ELOOP errors) - Configure vendor chunk splitting to reduce memory pressure - Exclude @slidev/cli from pre-bundling optimization - Add build-time rollup optimizations for chunking scripts/render-slides: expose GC API for better memory management - Add --expose-gc to NODE_OPTIONS to allow manual garbage collection - Helps Vite/Slidev plugins manage memory more effectively These changes address memory exhaustion issues when running Slidev dev server with Vite 7, which has known HMR memory leaks. Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
- Reduce figure/figcaption margins and padding for tighter spacing - Add .slidev-layout padding-top: 0.5rem to start content higher - Add padding-bottom: 2.5rem to reserve space for footer - Fix figcaption font-size to 12px for consistency - Add center tag flex styling for proper alignment This fixes the issue where figcaptions overlapped with the absolutely positioned footer on slides with large images. Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
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.
This is temporary branch just for review of course materials, it would be rebased after mergining other hanging branches.