fix mobile responsiveness issues
Some checks failed
Proyectos/simplenote-web/pipeline/head There was a failure building this commit

- Fixed malformed .mobile-nav-btn CSS syntax
- Added global overflow-x: hidden to prevent horizontal scroll
- Made projects.js use consistent sidebar overlay approach
- Removed hardcoded min-width: 450px from all modals
- Added safe area insets for notched mobile devices
- Hamburger menu now appears on ALL views on mobile
- Sidebar slides in as overlay on mobile
- All touch targets are at least 44px
- Font sizes are at least 16px to prevent iOS zoom
- Modals are full-width on mobile
This commit is contained in:
Hiro
2026-03-28 17:42:47 +00:00
parent 2d91e17c3e
commit dde7afdc19
3 changed files with 83 additions and 28 deletions

View File

@@ -290,7 +290,7 @@ window.showNewFolderModal = async function(projectId, parentId) {
const backdrop = document.createElement('div');
backdrop.className = 'modal-backdrop';
backdrop.innerHTML = `
<div class="modal" style="min-width: 450px;">
<div class="modal">
<div class="modal-header">
<span>📁</span>
<h3>Create New Folder</h3>
@@ -366,7 +366,7 @@ window.showEditProjectModal = async function(projectId) {
const backdrop = document.createElement('div');
backdrop.className = 'modal-backdrop';
backdrop.innerHTML = `
<div class="modal" style="min-width: 450px;">
<div class="modal">
<div class="modal-header">
<span>✏️</span>
<h3>Edit Project</h3>
@@ -454,7 +454,7 @@ window.showMoveToFolderModal = async function(documentId) {
const backdrop = document.createElement('div');
backdrop.className = 'modal-backdrop';
backdrop.innerHTML = `
<div class="modal" style="min-width: 450px;">
<div class="modal">
<div class="modal-header">
<span>📁</span>
<h3>Move to Folder</h3>
@@ -507,7 +507,7 @@ window.showNewDocModal = async function(projectId, folderId = '') {
backdrop.className = 'modal-backdrop';
backdrop.innerHTML = `
<div class="modal" style="min-width: 450px;">
<div class="modal">
<div class="modal-header">
<span>📄</span>
<h3>Create New Document</h3>