fix: action buttons are now responsive
Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user