Browse Source

Task/optimize logo spacing in header (#6788)

* Optimize spacing

* Update changelog
pull/5681/merge
Thomas Kaul 5 days ago
committed by GitHub
parent
commit
8f5dbcee56
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 7
      apps/client/src/app/components/header/header.component.html

1
CHANGELOG.md

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Optimized the spacing of the logo in the header
- Fixed the _Storybook_ setup by resolving missing `@angular/material` styles - Fixed the _Storybook_ setup by resolving missing `@angular/material` styles
## 3.0.1 - 2026-04-26 ## 3.0.1 - 2026-04-26

7
apps/client/src/app/components/header/header.component.html

@ -2,13 +2,13 @@
@if (user) { @if (user) {
<div class="d-flex h-100 logo-container" [ngClass]="{ filled: hasTabs }"> <div class="d-flex h-100 logo-container" [ngClass]="{ filled: hasTabs }">
<a <a
class="align-items-center h-100 justify-content-start rounded-0" class="align-items-center h-100 justify-content-start px-2 px-sm-3 rounded-0"
mat-button mat-button
[ngClass]="{ 'w-100': hasTabs }" [ngClass]="{ 'w-100': hasTabs }"
[routerLink]="['/']" [routerLink]="['/']"
(click)="onLogoClick()" (click)="onLogoClick()"
> >
<gf-logo class="px-2" [label]="pageTitle" /> <gf-logo [label]="pageTitle" />
</a> </a>
</div> </div>
<span class="gf-spacer"></span> <span class="gf-spacer"></span>
@ -334,13 +334,12 @@
@if (user === null) { @if (user === null) {
<div class="d-flex h-100 logo-container" [ngClass]="{ filled: hasTabs }"> <div class="d-flex h-100 logo-container" [ngClass]="{ filled: hasTabs }">
<a <a
class="align-items-center h-100 justify-content-start rounded-0" class="align-items-center h-100 justify-content-start px-2 px-sm-3 rounded-0"
mat-button mat-button
[ngClass]="{ 'w-100': hasTabs }" [ngClass]="{ 'w-100': hasTabs }"
[routerLink]="['/']" [routerLink]="['/']"
> >
<gf-logo <gf-logo
class="px-2"
[label]="pageTitle" [label]="pageTitle"
[showLabel]="currentRoute !== 'register'" [showLabel]="currentRoute !== 'register'"
/> />

Loading…
Cancel
Save