fix(css): add sidebar offset (260px) to all main content areas

The sidebar injected by sidebar.js is position:fixed with width:260px,
but most pages lacked margin-left on their main content, causing text
to be hidden behind the sidebar.

Affected pages:
- accounting, config, inventory, invoicing (.main)
- catalog, customers, diagrams, reports (.main-content)

Already fixed: dashboard, quotations
Not affected: fleet, whatsapp (use pos-main-offset), pos (no sidebar)
This commit is contained in:
2026-05-18 07:15:34 +00:00
parent ae2273f864
commit 07b9b9130a
8 changed files with 8 additions and 1 deletions

View File

@@ -326,6 +326,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
.page-header {

View File

@@ -76,7 +76,7 @@
MAIN CONTENT
========================================================================= */
.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; margin-left: 260px; }
/* Header with breadcrumb + search */
.content-header {

View File

@@ -326,6 +326,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
.page-header {

View File

@@ -340,6 +340,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
/* Page header */

View File

@@ -76,6 +76,7 @@
.main-content {
flex: 1; display: flex; flex-direction: column; overflow: hidden;
min-width: 0;
margin-left: 260px;
}
.page-header {

View File

@@ -332,6 +332,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
/* ---- Page Header ---- */

View File

@@ -332,6 +332,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
/* ---- Page Header ---- */

View File

@@ -340,6 +340,7 @@
flex-direction: column;
overflow: hidden;
min-width: 0;
margin-left: 260px;
}
/* Header */