From 895f9a9ce56f51013f4751b41585c7fe4cde75af Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Tue, 13 Jun 2023 09:20:11 +0200 Subject: [PATCH] Adjust description list padding for standalone variant --- .changelog/525.bugfix.md | 1 + src/app/components/StyledDescriptionList/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .changelog/525.bugfix.md diff --git a/.changelog/525.bugfix.md b/.changelog/525.bugfix.md new file mode 100644 index 000000000..57796b804 --- /dev/null +++ b/.changelog/525.bugfix.md @@ -0,0 +1 @@ +Fix description list paddings for mobile variant diff --git a/src/app/components/StyledDescriptionList/index.tsx b/src/app/components/StyledDescriptionList/index.tsx index 40ea6af58..821576bc2 100644 --- a/src/app/components/StyledDescriptionList/index.tsx +++ b/src/app/components/StyledDescriptionList/index.tsx @@ -62,7 +62,7 @@ export const StyledDescriptionList = styled(InlineDescriptionList, { }, ...(standalone && { '&&': { - padding: theme.spacing(2), + padding: `${theme.spacing(3)} ${theme.spacing(4)}`, backgroundColor: COLORS.white, marginBottom: theme.spacing(4), borderRadius: '12px',