mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-09-02 09:34:33 +02:00
mobile UI
This commit is contained in:
29
src/App.css
29
src/App.css
@@ -685,22 +685,24 @@ button {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
overflow: hidden;
|
/* Allow growing */
|
||||||
/* Prevent scroll - fit everything on one screen */
|
height: auto;
|
||||||
|
overflow-y: auto;
|
||||||
|
/* Allow scrolling */
|
||||||
}
|
}
|
||||||
|
|
||||||
.card.sheet-music-card {
|
.card.sheet-music-card {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: auto;
|
||||||
/* Fit within viewport */
|
/* Let it grow naturally */
|
||||||
max-height: 100vh;
|
min-height: 100vh;
|
||||||
|
/* Fill at least the screen */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -818,15 +820,20 @@ button {
|
|||||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide settings footer in landscape - accessible via settings modal */
|
/* Show settings footer in landscape */
|
||||||
.settings-footer {
|
.settings-footer {
|
||||||
display: none;
|
display: flex;
|
||||||
|
margin-top: 20px;
|
||||||
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* App container in landscape */
|
/* App container in landscape */
|
||||||
.app-container {
|
.app-container {
|
||||||
overflow: hidden;
|
overflow-x: hidden;
|
||||||
height: 100vh;
|
overflow-y: auto;
|
||||||
|
height: auto;
|
||||||
|
min-height: 100vh;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-row {
|
.action-row {
|
||||||
|
|||||||
Reference in New Issue
Block a user