Skip to content

Commit

Permalink
fix(internet-header): update logo scale with no meta nav
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Mar 13, 2024
1 parent d892db0 commit 3259e25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eighty-stingrays-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/internet-header': patch
---

Fixed logo not scaled properly for header with no meta navigation.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export class PostInternetHeader {
(this.login ?? !config.header.isLoginWidgetHidden) && config.header.loginWidgetOptions;
const renderLanguageSwitch = config.header.navLang.length > 1;

const initialLogoScale = getLogoScale(this.host);
const initialLogoScale = renderMetaNavigation ? getLogoScale(this.host) : '1';

return (
<Host
Expand Down

0 comments on commit 3259e25

Please sign in to comment.