mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-11-03 22:03:54 +01:00
Fix live-note staff clipping (written-range headroom, block SVG) and center Zen-mode content vertically
This commit is contained in:
18
src/App.css
18
src/App.css
@@ -1103,3 +1103,21 @@ button {
|
||||
flex: none;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.live-note-staff svg {
|
||||
display: block; /* inline SVG baseline gap made the box taller than the SVG */
|
||||
}
|
||||
|
||||
/* Zen mode: center the core UI vertically; the exit button is position:fixed
|
||||
and stays at the top. `safe center` avoids clipping when content is taller
|
||||
than the viewport. */
|
||||
.app-container.zen-mode {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.app-container.zen-mode .main-stage {
|
||||
flex: 1;
|
||||
justify-content: safe center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user