fix(styles): resize header icons to 30px and tighten gap - #42
Merged
Conversation
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 25, 2026
References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. Assisted-by: ClaudeCode:claude-sonnet-4-6
18 tasks
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 26, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix guest header logo Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
force-pushed
the
ionos-dev-v33-enhanced-theming
branch
from
August 26, 2026 10:40
b16c539 to
aebc561
Compare
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 26, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 26, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 27, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 27, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
There was a problem hiding this comment.
Pull request overview
This PR adjusts the Nextcloud header styling to better match the IONOS design (icon sizing + tighter spacing) and improves guest/share-link page layout by ensuring the header can span full viewport width and mount the IONOS logo even when Nextcloud’s usual header structure isn’t present.
Changes:
- Update header CSS to enforce 30px icon sizing (including unified search SVG) and reduce header icon gaps to 8px.
- Add guest/login page CSS to pin the header and offset
.wrappercontent so it isn’t hidden behind the fixed bar. - Update
main.tsto handle pages without.header-endby moving the header element and mountingHeaderLogoin place of Nextcloud’s.logo.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/styles.scss |
Adds guest/login header positioning + wrapper offset; enforces 30px unified-search SVG sizing; tightens .header-end spacing. |
src/main.ts |
Adds a fallback path for pages without .header-end by repositioning the header and mounting HeaderLogo. |
src/components/UserMenu.vue |
Resizes mail/account icons to 30px and reduces user-menu icon gap to 8px. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
tanyaka
force-pushed
the
ionos-dev-v33-enhanced-theming
branch
from
August 28, 2026 07:44
aebc561 to
be604be
Compare
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 28, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
Mail and account icons: 26px → 30px to match unified-search icon size. Unified-search SVG: add explicit 30px max-width/max-height to override NC's icon-vue scoped max constraints. Gap between header icons: 16px → 8px. Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
On password-protected share links and other guest pages, #header has class header-guest with no .header-end child. The script was returning early, leaving NC's default logo div visible instead of the IONOS logo. Detect the no-.header-end case, replace NC's .logo div with the IONOS HeaderLogo component, and return without mounting the user menu (which only belongs on authenticated pages). Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de> Assisted-by: ClaudeCode:claude-sonnet-4-6
tanyaka
force-pushed
the
ionos-dev-v33-enhanced-theming
branch
from
August 28, 2026 08:27
be604be to
cb48c99
Compare
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 28, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Aug 28, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
Arsalanulhaq
approved these changes
Sep 2, 2026
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Sep 2, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
tanyaka
added a commit
to IONOS-Productivity/nc-server
that referenced
this pull request
Sep 2, 2026
… fix) 1.resize header icons References IONOS-Productivity/nc-simplenavigation#42 — mail/account icons 26px→30px, unified-search SVG max-size fix, icon gap 16px→8px. 2. fix parrword protected guest header Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AI disclosure
This change was assisted by Claude Code (claude-sonnet-4-6). Changes reviewed and tested in a live Nextcloud container by the contributor.