Skip to content

Commit

Permalink
small ui updates (#5762)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpye-finch authored Aug 15, 2023
1 parent 5f6e1bb commit f1eea82
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/client/src/views/RegisterForm/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ function FormAppBar({
<Button
id="save-exit-btn"
type="primary"
size="medium"
size="small"
onClick={handleSaveAndExit}
>
<Icon name="DownloadSimple" />
Expand All @@ -452,7 +452,7 @@ function FormAppBar({
<Button
id="exit-btn"
type="secondary"
size="medium"
size="small"
onClick={handleExit}
>
<Icon name="X" />
Expand Down Expand Up @@ -511,13 +511,13 @@ function FormAppBar({
<Button
id="save-exit-btn"
type="primary"
size="medium"
size="small"
onClick={handleSaveAndExit}
>
<Icon name="DownloadSimple" />
{intl.formatMessage(buttonMessages.saveExitButton)}
</Button>
<Button type="secondary" size="medium" onClick={handleExit}>
<Button type="secondary" size="small" onClick={handleExit}>
<Icon name="X" />
{intl.formatMessage(buttonMessages.exitButton)}
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class SelectVitalEventView extends React.Component<
<Button
id="goBack"
type="secondary"
size="medium"
size="small"
onClick={this.props.goToHome}
>
<Icon name="X" />
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/BulletList/BulletList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface BulletListProps {

const List = styled.ul`
list-style-type: disc;
padding-inline-start: 24px;
`
const ListItem = styled.li`
margin-bottom: 12px;
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/Content/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Body = styled.div`
`
const Footer = styled.div`
display: flex;
padding: 24px 20px;
padding: 24px;
@media (max-width: ${({ theme }) => theme.grid.breakpoints.md}px) {
padding: 16px;
}
Expand Down Expand Up @@ -149,7 +149,7 @@ const Icon = styled.div`
`

const Contents = styled.div<{ noPadding?: boolean }>`
padding: ${(props) => (props.noPadding ? 0 : '16px 20px')};
padding: ${(props) => (props.noPadding ? 0 : '24px')};
@media (max-width: ${({ theme }) => theme.grid.breakpoints.md}px) {
padding: ${(props) => (props.noPadding ? 0 : '16px')};
}
Expand Down

0 comments on commit f1eea82

Please sign in to comment.