Skip to content

Commit

Permalink
Merge pull request #8137 from michaelchadwick/frontend-5703-fix-new-f…
Browse files Browse the repository at this point in the history
…orm-mobile-horiz-scroll

fix some routes that have horizontal scrolling on small screen
  • Loading branch information
dartajax authored Sep 13, 2024
2 parents db5a3bd + 588bc12 commit 1e66759
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@

.form {
@include m.ilios-form;
grid-template-columns: repeat(2, 1fr);

@include m.for-tablet-and-up {
grid-template-columns: repeat(2, 1fr);
}

.item {
@include m.ilios-form-item;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,5 @@
.buttons {
@include m.ilios-form-buttons;
}

.title input {
min-width: 400px;
}
}
}
3 changes: 0 additions & 3 deletions packages/frontend/app/styles/components/program/new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@

.title {
@include m.ilios-form-item;
input {
min-width: 400px;
}
}

.buttons {
Expand Down
8 changes: 8 additions & 0 deletions packages/frontend/app/styles/mixins/admin-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
@include cm.font-size("base");
}

select {
max-width: 88vw;

@include cm.for-tablet-and-up {
max-width: none;
}
}

.inline-data {
display: inline;
}
Expand Down

0 comments on commit 1e66759

Please sign in to comment.