Skip to content

Commit e157c12

Browse files
authored
Adjusted the margins for 1280px and greater (#2277)
Co-authored-by: Hector Correa <[email protected]> Co-authored-by: James R. Griffin III <[email protected]> Co-authored-by: Precilla Prempeh <[email protected]> ref #2199
1 parent 6641478 commit e157c12

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

app/assets/stylesheets/_dashboard.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@
331331
justify-content: center;
332332
align-items: center;
333333
gap: 0.75rem;
334+
@media (min-width: 1280px) {
335+
width: 20rem;
336+
}
334337

335338
.storage {
336339
display: flex;
@@ -673,6 +676,7 @@
673676
align-items: center;
674677
gap: 1.25rem;
675678
align-self: stretch;
679+
flex-grow: 0;
676680

677681
.downloads {
678682
display: flex;
@@ -806,6 +810,7 @@
806810
height: 8.4375rem;
807811
flex-direction: column;
808812
align-items: center;
813+
flex-grow: 0;
809814
flex-shrink: 0;
810815

811816
border-radius: 0.75rem;

app/assets/stylesheets/_settings.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
margin-right: 2em;
6060
color: #000 !important;
6161
background-color: #f1f1f1 !important;
62+
@media (min-width: 1280px) {
63+
width: 20em;
64+
}
6265
}
6366

6467
.w3-round-small {

app/assets/stylesheets/application.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ body {
4141
flex-direction: column;
4242
align-items: flex-start;
4343
gap: 0.625rem;
44+
@media (min-width: 1280px) {
45+
padding-left: 2.4375rem;
46+
padding-right: 2.4375rem;
47+
}
4448
}
4549

4650
/* removes horizontal scroll */

app/presenters/project_show_presenter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def project_in_rails?
211211

212212
private
213213

214-
def requested_by_user
214+
def requested_by_user
215215
@requested_by_user ||= safe_user(submission_provenance["requested_by"])
216216
end
217217

0 commit comments

Comments
 (0)