Skip to content

Commit

Permalink
Fix some styles
Browse files Browse the repository at this point in the history
- Replace background static image by CSS gradient (for big screens)
- Use "auto" for overflow scrollbars.
- Fix body margins

Signed-off-by: Thiago Padilha <[email protected]>
  • Loading branch information
tchrono committed Oct 31, 2023
1 parent 867f094 commit bf59950
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const PAPER_STYLE = {
background: 'none',
flex: 16,
width: '100%',
overflow: 'scroll'
overflow: 'auto'
};

export const HEADER_STYLES = {
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/components/VivoPage/constants/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const PAGE_STYLES = {
borderRadius: '8px',
ml: 2,
width: '80vw',
overflowX: 'auto'
}
};

Expand Down Expand Up @@ -31,4 +32,4 @@ export const HEADER_STYLES = {
fontSize: '14px',
lineHeight: '133.4%'
}
}
}
Binary file removed packages/frontend/public/vivo2.jpg
Binary file not shown.
5 changes: 3 additions & 2 deletions packages/frontend/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ body {
}

body {
background: url('/vivo2.jpg');
background-image: linear-gradient(to top right, rgba(142,182,231,1), rgba(249,194,200,1));
font-family: 'Rubik';
margin: 1vw 2vw 1vw 2vw;
margin-top: 0.5vw;
margin-left: 1vw;
}

a {
Expand Down

0 comments on commit bf59950

Please sign in to comment.