New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show cookie settings by click on a respective button shown in footer #394
base: main
Are you sure you want to change the base?
Conversation
} | ||
})); | ||
|
||
const FooterContent: React.FunctionComponent<{ expanded: boolean }> = ({ expanded }) => { | ||
const classes = footerStyle(); | ||
const theme = useTheme(); | ||
const isSmallDisplay = useMediaQuery(theme.breakpoints.down('sm')); | ||
const isSmallDisplay = useMediaQuery(theme.breakpoints.down('lg')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't change the definition of isSmallDisplay to encompass up to large displays, as this will trigger on many devices where it is not intentional. What was the reasoning behind this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That variable is only to decide about the behaviour of the menu. Because I added the "Manage Cookies" item here, and the footer got too full for the lg size, I decided to switch to the collapsed menu in the footer at a larger state. Admittedly the naming of that variable is not suitable anymore.
@jbicker Is this something that still requires attention? |
Not as far as I know. |
A "Manage Cookies" link gets shown in footer. A click on it opens the cookie consent banner again.
Still work in progress:
Fixes #220