Skip to content

Commit

Permalink
app: Flip 'full' field label display order
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Nov 19, 2020
1 parent c50d3b9 commit 304c641
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/renderer/components/form/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ const Field = styled(({size, name, description, children, ...p}: Props) => (
}
`}
${p =>
p.size === 'full' &&
css`
> *:first-child {
grid-area: 2;
}
> &:last-child {
grid-area: 1;
}
`}
&:not(:last-child) {
border-bottom: 1px solid #eee;
}
Expand Down

0 comments on commit 304c641

Please sign in to comment.