Skip to content

Commit c82febf

Browse files
authored
Merge pull request #636 from AppQuality/develop
Update translations and a small layout issue in homepage
2 parents 8a7cf47 + ca2dece commit c82febf

File tree

2 files changed

+7
-0
lines changed
  • src
    • features/templates
    • pages/Campaign/useWidgets/Experience/widgets/General

2 files changed

+7
-0
lines changed

src/features/templates/Page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ const Container = styled.div<{
2020
-webkit-font-smoothing: antialiased;
2121
-moz-osx-font-smoothing: grayscale;
2222
background-color: ${({ theme }) => theme.palette.grey[100]};
23+
padding-bottom: ${({ theme }) =>
24+
theme.components.chrome.header
25+
.height}; /* Fix to prevent page bottom for being cut because of the chrome fixed header height */
2326
margin: ${({ theme }) => theme.space.xxl} auto;
2427
${({ excludeMarginTop }) => excludeMarginTop && `margin-top: 0;`}
2528
${({ excludeMarginBottom }) => excludeMarginBottom && `margin-bottom: 0;`}

src/pages/Campaign/useWidgets/Experience/widgets/General/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ const StyledRow = styled.div`
1414
grid-template-columns: 8fr 4fr;
1515
grid-gap: ${({ theme }) => theme.space.md};
1616
align-items: start;
17+
18+
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
19+
grid-template-columns: 1fr;
20+
}
1721
`;
1822

1923
export const CampaignInfo = ({

0 commit comments

Comments
 (0)