Skip to content

Commit

Permalink
feat(ui): Change desktop UI breakpoint from min 600px to min 750px width
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed May 27, 2024
1 parent 03ff290 commit 97818ac
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ const App = (): React.ReactElement => {
},
transitions: {
duration: transitionDurations
},
breakpoints: {
values: {
xs: 0,
sm: 750,
md: 900,
lg: 1200,
xl: 1536,
},
}
});
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/LogViewer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
color: #DF5618;
}

@media print, screen and (max-width: 600px) {
@media print, screen and (max-width: 750px) {
.metadata {
flex-direction:column;
margin-right: inherit;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/PaperContainer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

}

@media print, screen and (max-width: 600px) {
@media print, screen and (max-width: 750px) {
.paperContainerPaper {
margin-top: 0;
margin-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/valetudo/About.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
margin-right: auto;
text-align: justify
}
@media print, screen and (max-width: 600px) {
@media print, screen and (max-width: 750px) {
.reactMarkDown {
max-width: 90%
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/valetudo/Help.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
margin-right: auto;
text-align: justify
}
@media print, screen and (max-width: 600px) {
@media print, screen and (max-width: 750px) {
.reactMarkDown {
max-width: 90%
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/valetudo/Log.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}


@media print, screen and (max-width: 600px) {
@media print, screen and (max-width: 750px) {
.logViewer {
height: calc(68vh - 56px)
}
Expand Down

0 comments on commit 97818ac

Please sign in to comment.