Skip to content

Commit b996f08

Browse files
committed
Fix deploy syntax
1 parent 6d73c1f commit b996f08

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
deploy:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v3
1010

1111
- name: Install Node.js
1212
uses: actions/setup-node@v3

data-browser/src/views/DocumentPage.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,11 @@ function SortableElement(props: SortableElementProps) {
408408
}
409409

410410
const DocumentContainer = styled.div`
411-
max-width: ${p => p.theme.containerWidth}rem;
411+
width: min(100%, ${p => p.theme.containerWidth}rem);
412+
margin: auto;
412413
display: flex;
413414
flex: 1;
414-
margin: auto;
415415
flex-direction: column;
416-
min-height: 100%;
417-
box-sizing: border-box;
418416
padding: 2rem;
419417
@media (max-width: ${props => props.theme.containerWidth}rem) {
420418
padding: ${p => p.theme.margin}rem;
@@ -448,6 +446,11 @@ interface GripItemProps {
448446

449447
const FullPageWrapper = styled.div`
450448
background-color: ${p => p.theme.colors.bg};
449+
display: flex;
450+
flex: 1;
451+
flex-direction: column;
452+
min-height: 100%;
453+
box-sizing: border-box;
451454
`;
452455

453456
const SortHandleStyled = styled.div<GripItemProps>`

0 commit comments

Comments
 (0)