Skip to content

Commit

Permalink
Merge pull request #1114 from City-of-Helsinki/UHF-X_chat_button_posi…
Browse files Browse the repository at this point in the history
…tion

UHF-X chat button position
  • Loading branch information
Arkkimaagi authored Dec 4, 2024
2 parents 293ec5e + bd09638 commit 7078104
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/scss/06_components/block/_chat-leijuke.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@
#aca--widget-button {
opacity: 0;
}

// Cookie banner adjustments to chat button positions.
html aca-chat-app-button .chat-button-wrapper,
html #chat-leijuke-wrapper {
bottom: calc(var(--hds-cookie-consent-height, -8px) + 8px); // If cookie banner is not visible, fallback bottom to 0 px (-8 + 8 = 0)
}

0 comments on commit 7078104

Please sign in to comment.