fix(ui): prevent text selection on buttons
All checks were successful
Deploy to Production / deploy (push) Successful in 6s

This commit is contained in:
2026-02-26 23:32:36 +00:00
parent ab2da36aa1
commit c6baace721
4 changed files with 51 additions and 11 deletions

View File

@@ -59,16 +59,27 @@ onUnmounted(() => {
flex: 1;
width: 100%;
position: relative;
overflow: hidden; /* Ensure body doesn't scroll */
}
.main-content {
flex: 1;
padding: 2rem;
width: 100%;
max-width: 100%; /* Ensure it doesn't overflow */
overflow-y: auto; /* Allow content to scroll independently */
height: 100%; /* Take full height of app-body */
max-width: 100%;
/* Space for fixed footer on mobile + extra margin (generous to ensure gap) */
padding-bottom: calc(100px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
.app-body {
overflow: hidden;
}
.main-content {
overflow-y: auto;
height: 100%;
padding-bottom: 2rem;
}
}
.sidebar-overlay {