@cccarv82/freya 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/web-ui.css CHANGED
@@ -212,10 +212,8 @@ body {
212
212
 
213
213
  .centerBody {
214
214
  padding: 16px;
215
- display: flex;
216
- flex-direction: column;
215
+ overflow: auto;
217
216
  min-height: 0;
218
- overflow: hidden;
219
217
  }
220
218
  .centerHead { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 14px; }
221
219
  .statusLine { display:flex; align-items:center; justify-content:flex-end; gap: 12px; }
@@ -223,15 +221,7 @@ body {
223
221
  h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
224
222
  .subtitle { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; max-width: 860px; }
225
223
 
226
- .midGrid {
227
- display: grid;
228
- grid-template-columns: 1fr 1fr;
229
- gap: 14px;
230
- flex: 1;
231
- min-height: 0;
232
- overflow: auto;
233
- padding-right: 2px; /* avoid scrollbar overlay clipping */
234
- }
224
+ .midGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
235
225
  .midSpan { grid-column: 1 / -1; }
236
226
  @media (max-width: 980px) {
237
227
  .midGrid { grid-template-columns: 1fr; }
@@ -243,6 +233,13 @@ h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
243
233
  .panelHead b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
244
234
  .panelBody { padding: 12px; }
245
235
 
236
+ /* Fixed-height panel bodies (Today/Reports) to keep layout stable + show vertical scroll */
237
+ .panelBody.panelScroll {
238
+ max-height: clamp(280px, 42vh, 520px);
239
+ overflow: auto;
240
+ overscroll-behavior: contain;
241
+ }
242
+
246
243
  /* DEV DRAWER */
247
244
  .devDrawer { margin-top: 14px; border: 1px dashed var(--line2); border-radius: var(--radius); background: rgba(255,250,242,.42); }
248
245
  [data-theme="dark"] .devDrawer { background: rgba(0,0,0,.18); }
package/cli/web.js CHANGED
@@ -750,7 +750,7 @@ function buildHtml(safeDefault) {
750
750
  <button class="btn small" onclick="refreshToday()">Atualizar</button>
751
751
  </div>
752
752
  </div>
753
- <div class="panelBody">
753
+ <div class="panelBody panelScroll">
754
754
  <div class="small" style="margin-bottom:8px; opacity:.8">Fazer agora</div>
755
755
  <div id="tasksList" style="display:grid; gap:8px"></div>
756
756
  <div style="height:12px"></div>
@@ -766,7 +766,7 @@ function buildHtml(safeDefault) {
766
766
  <button class="btn small" onclick="refreshReports()">Atualizar</button>
767
767
  </div>
768
768
  </div>
769
- <div class="panelBody">
769
+ <div class="panelBody panelScroll">
770
770
  <input id="reportsFilter" placeholder="filter (ex: daily, executive, 2026-01-29)" style="width:100%; margin-bottom:10px" oninput="renderReportsList()" />
771
771
  <div id="reportsList" style="display:grid; gap:8px"></div>
772
772
  <div class="help">Últimos relatórios em <code>docs/reports</code>. Clique para abrir o preview.</div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccarv82/freya",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Personal AI Assistant with local-first persistence",
5
5
  "scripts": {
6
6
  "health": "node scripts/validate-data.js",