Skip to content

Commit

Permalink
fix: cookie banner fix (HL-909) (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjturt authored Dec 11, 2023
1 parent dfd4dbd commit 2426c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ARG SENTRY_AUTH_TOKEN
ARG SENTRY_URL
ARG SENTRY_RELEASE
ARG NEXT_PUBLIC_ASKEM_API_KEY
ARG NEXT_PUBLIC_SHOW_COOKIE_BANNER

# Use non-root user
USER appuser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const CookieConsent: React.FC = () => {
language: {
onLanguageChange,
},
focusTargetSelector: '#focused-element-after-cookie-consent-closed',
focusTargetSelector: '#main_content',
};

return <CookieModal contentSource={contentSource} />;
Expand Down

0 comments on commit 2426c5f

Please sign in to comment.