Skip to content

Commit

Permalink
refactor: #1069 refactor the grant access form (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
MCatherine1994 authored Dec 13, 2023
1 parent b8c0cd8 commit b7724b5
Show file tree
Hide file tree
Showing 7 changed files with 590 additions and 405 deletions.
52 changes: 52 additions & 0 deletions frontend/src/assets/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,55 @@
body {
font-family: map.get(typeFamily.$type-family, 'sans');
}

/* ----------------- form input styles --------------------------- */
.form-field {
margin-bottom: 1.5rem;
}

.input-with-verify-button {
padding: 0;
width: 100%;
display: inline-grid;
grid-template-columns: auto min-content;
}

.custom-height {
max-height: 2.813rem !important;
}

.button-stack {
padding: 0;
margin-top: 2.5rem;
margin-bottom: 2.5rem;
gap: 1rem;
width: 100%;
display: inline-grid;
grid-template-columns: 1fr 1fr;

Button {
width: auto !important;
}
}

// when screen width < 390px
@media (max-width: 390px) {
.input-with-verify-button {
display: block;
}
}

// when screen width > 1024px
@media (min-width: 1024px) {
.button-stack {
justify-content: start;
grid-template-columns: auto auto;
width: 38rem;

Button {
width: 15rem !important;
gap: 2rem;
white-space: nowrap;
}
}
}
Loading

0 comments on commit b7724b5

Please sign in to comment.