Skip to content

Commit

Permalink
Adjust layout of new subjects (#2452)
Browse files Browse the repository at this point in the history
* Adjust layout of new subjects

* Bring language selector to the front
  • Loading branch information
RoyEJohnson authored Aug 10, 2023
1 parent be508a0 commit d2e6259
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/pages/subjects/new/subjects-listing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
background-color: ui-color(white);

.content {
display: flex;
flex-wrap: wrap;
display: grid;
gap: 5rem 3rem;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
}

nav {
Expand Down
9 changes: 9 additions & 0 deletions src/app/pages/subjects/new/subjects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,19 @@

.language-selector-section {
background-color: ui-color(white);
padding-top: 4rem;
}

.language-selector {
@include scale-feature(margin-bottom, 2rem, 3rem);

position: relative;
z-index: 1;

> span {
background-color: ui-color(white);
padding: 0.2rem 0.5rem;
}
}

.savings-blurb {
Expand Down

0 comments on commit d2e6259

Please sign in to comment.