Merge pull request #20217 from fedy97/hotfix/overflow-button-mobile-view

fix: action buttons are now responsive
This commit is contained in:
Patrik Oldsberg
2023-09-28 13:41:10 +02:00
committed by GitHub
@@ -37,7 +37,14 @@ export const ContentBlock = ({
{children && React.isValidElement(children) ? children : <p>{children}</p>}
{actionButtons && (
<div className="actionButtons">
<div
className="actionButtons"
style={{
display: 'grid',
gridTemplateColumns: 'repeat(auto-fill, minmax(200px, 1fr))',
gap: '15px',
}}
>
{actionButtons.map(({ link, label }, index) => (
<Link
key={index}