Skip to content

Commit

Permalink
Fixed a number of styling issues in ExportWins/Review/Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhudec committed Mar 20, 2024
1 parent 5d1440d commit 061fcf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/client/components/Form/elements/FieldWrapper/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const StyledFieldsetNoStyling = styled('fieldset')`
const StyledLegend = styled('legend')`
font-weight: 700;
font-size: 19px;
line-height: 1.25px;
padding: 0;
margin: 0;
padding-bottom: ${SPACING.SCALE_1};
Expand Down
9 changes: 6 additions & 3 deletions src/client/modules/ExportWins/Review/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Grid = styled.div({
minHeight: '100vh',
display: 'grid',
gridTemplateRows: 'auto auto 1fr minmax(min-content, 30px)',
gridTemplateColumns: `1fr min(100vw, calc(960px + ${SPACING.SCALE_3} * 2)) 1fr`,
gridTemplateColumns: `1fr min(100vw, calc(960px + ${SPACING.SCALE_5} * 2)) 1fr`,
gridTemplateAreas: `
". main-bar ."
". header ."
Expand All @@ -31,7 +31,7 @@ const MainBar = styled.div({
fontWeight: FONT_WEIGHTS.bold,
fontSize: FONT_SIZE.SIZE_27,
color: WHITE,
padding: SPACING.SCALE_3,
padding: SPACING.SCALE_5,
})

const HeaderBackground = styled.div({
Expand All @@ -43,7 +43,7 @@ const HeaderBackground = styled.div({
const Header = styled.header({
gridArea: 'header',
alignSelf: 'center',
padding: SPACING.SCALE_3,
padding: SPACING.SCALE_5,
paddingBottom: SPACING.SCALE_5,
})

Expand All @@ -54,6 +54,9 @@ const Main = styled.main({

const GridCellFooter = styled(Footer)({
gridArea: 'footer',
ul: {
padding: 0,
},
})

const Title = styled(H1)({
Expand Down

0 comments on commit 061fcf6

Please sign in to comment.