Skip to content

IONOS(theming): fix #content-vue offset for standalone and nested apps - #369

Merged
tanyaka merged 1 commit into
ionos-dev-v33from
tkl/dev/fix-content-vue-offset
Sep 30, 2026
Merged

tanyaka merged 1 commit into
ionos-dev-v33from
tkl/dev/fix-content-vue-offset

Conversation

@tanyaka

@tanyaka tanyaka commented Sep 29, 2026 •

Copy link
Copy Markdown

Summary

Follow-up to a186e83, which reset #content-vue to margin: 0 by default and caused two layout regressions:

  • Standalone apps (Deck and others where NcContent replaces core #content) slid under the header.
  • Nested apps (Talk, Contacts, Activity, Notes, Calendar, Tasks, … where #content-vue sits inside core #content) inherited the wrapper's 8px side margin: gap on the left, overflow on the right. The "framed" variant for Mail, Tasks, Tables and Settings also left a gap on the left.

Changes in apps/theming/css/ionos/_layout.css:

  • #content-vue is edge-to-edge below the header by default; the per-app overrides are gone.
  • When nested in core #content, #content-vue drops its own header offset (the wrapper already has it).
  • Core #content is edge-to-edge when it holds #content-vue, sharing one rule with the dashboard (uses :has()).
  • Removed #content.app-tasks { margin: 0 }, now covered by the rules above.

Verified in the browser at 1900px (header 64px): Files, Mail, Tables, Tasks, Deck, Talk, Notes, Dashboard and Settings → Apps all render at x=0, y=64, full width, no horizontal overflow. Contacts, Calendar, Collectives, Forms and Activity share the nested structure but were not re-measured after the final change.

TODO

  • Visual check of all 9 activated apps as in (Contacts, Calendar, Collectives, Forms, Activity, Mail, Deck, Tables, Files) and Settings.

Checklist

a186e83 reset #content-vue to margin 0 by default, which moved
standalone app containers (e.g. Deck) under the header. Apps that mount
#content-vue inside the core #content wrapper (Talk, Contacts, Notes,
Tasks, ...) inherited the wrapper's side margin, leaving a gap on the
left and overflowing on the right. The framed variant for Mail, Tasks,
Tables and Settings left a gap on the left as well.

Place #content-vue edge-to-edge below the header, drop the offset when
it is nested in the core #content wrapper, and make that wrapper
edge-to-edge like the dashboard.

Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Visual verification remains incomplete for several affected apps.

Review effort: Lite
Findings: None

What changed in this PR

Fixes IONOS content positioning for standalone and nested apps.

Changes:

  • Restores standalone header offset.
  • Removes duplicate nested offsets.
  • Makes relevant wrappers edge-to-edge.
File Description
apps/​theming/​css/​ionos/​_layout.css Adjusts app and core content layout rules.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bromiesTM bromiesTM left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too me this looks okay visually

@tanyaka
tanyaka changed the base branch from rc/ncw-v33-1 to ionos-dev-v33 September 30, 2026 08:59
@tanyaka
tanyaka merged commit e69012d into ionos-dev-v33 Sep 30, 2026
23 of 31 checks passed
@tanyaka
tanyaka deleted the tkl/dev/fix-content-vue-offset branch September 30, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants