Skip to content

Commit

Permalink
#280 Better screen fit
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Oct 23, 2024
1 parent 6cb4a47 commit 2795b78
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion app/resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,12 @@ fieldset .field {

.plant-column table {
width: 80%;
@media screen and (max-width: 1471px) {
width: 75%;
}
@media screen and (max-width: 925px) {
width: 73%;
}
@media screen and (max-width: 786px) {
width: 100%;
}
Expand Down Expand Up @@ -985,7 +991,16 @@ fieldset .field {
.plant-photo {
position: relative;
width: 473px;
@media screen and (max-width: 512px) {
@media screen and (max-width: 1471px) {
width: 405px;
}
@media screen and (max-width: 1279px) {
width: 353px;
}
@media screen and (max-width: 935px) {
width: 320px;
}
@media screen and (max-width: 768px) {
width: 100%;
height: 439px;
}
Expand Down
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

0 comments on commit 2795b78

Please sign in to comment.