Merged in fix/STAY-133-modal-header (pull request #3330)
fix: adapt modal header to look like design * fix: adapt modal header to look like design Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Matilda Landström
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--Space-x2);
|
gap: var(--Space-x2);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: var(--Space-x3) var(--Space-x2) var(--Space-x4) var(--Space-x2);
|
padding: var(--Space-x1) var(--Space-x2) var(--Space-x4) var(--Space-x2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
.modalContent {
|
.modalContent {
|
||||||
padding: var(--Space-x3) var(--Space-x3) var(--Space-x3);
|
padding: var(--Space-x1) var(--Space-x3) var(--Space-x3);
|
||||||
width: 560px; /* From figma design */
|
width: 560px; /* From figma design */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -205,7 +205,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
gap: var(--Space-x3);
|
gap: var(--Space-x3);
|
||||||
padding-inline: var(--Space-x3);
|
padding-inline: var(--Space-x1) var(--Space-x3) var(--Space-x3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.expiryText {
|
.expiryText {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: var(--Space-x2);
|
padding: var(--Space-x1) var(--Space-x2) var(--Space-x2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
@@ -20,6 +20,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modalScrollable {
|
.modalScrollable {
|
||||||
padding: var(--Space-x3);
|
padding: var(--Space-x1) var(--Space-x3) var(--Space-x3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-height: 70dvh;
|
max-height: 70dvh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: var(--Space-x3);
|
margin-top: var(--Space-x1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
.content {
|
.content {
|
||||||
padding-top: var(--Space-x1);
|
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Space-x2);
|
gap: var(--Space-x2);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Space-x3);
|
gap: var(--Space-x3);
|
||||||
align-content: start;
|
align-content: start;
|
||||||
margin-top: var(--Space-x2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.infoButton {
|
.infoButton {
|
||||||
|
|||||||
@@ -100,7 +100,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--Space-x1);
|
gap: var(--Space-x1);
|
||||||
margin-top: var(--Space-x2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.term {
|
.term {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--Space-x1);
|
gap: var(--Space-x1);
|
||||||
margin-top: var(--Space-x3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.term {
|
.term {
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
perspective: 1000px;
|
perspective: 1000px;
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
margin-top: var(--Space-x2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.shimmer {
|
.shimmer {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.terms {
|
.terms {
|
||||||
margin-top: var(--Space-x3);
|
margin-top: var(--Space-x1);
|
||||||
margin-bottom: var(--Space-x3);
|
margin-bottom: var(--Space-x3);
|
||||||
}
|
}
|
||||||
.termsText:nth-child(n) {
|
.termsText:nth-child(n) {
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
.rewardNightTooltip {
|
.rewardNightTooltip {
|
||||||
max-width: 560px;
|
max-width: 560px;
|
||||||
margin-top: var(--Space-x2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 767px) {
|
@media screen and (max-width: 767px) {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Space-x3);
|
gap: var(--Space-x3);
|
||||||
align-content: start;
|
align-content: start;
|
||||||
margin-top: var(--Space-x2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.closeButton {
|
.closeButton {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.terms {
|
.terms {
|
||||||
margin-top: var(--Space-x3);
|
margin-top: var(--Space-x1);
|
||||||
margin-bottom: var(--Space-x3);
|
margin-bottom: var(--Space-x3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.terms {
|
.terms {
|
||||||
margin-top: var(--Space-x3);
|
margin-top: var(--Space-x1);
|
||||||
margin-bottom: var(--Space-x3);
|
margin-bottom: var(--Space-x3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: var(--Space-x2) var(--Space-x7) var(--Space-x1) var(--Space-x2);
|
padding: var(--Space-x2) var(--Space-x7) var(--Space-x2) var(--Space-x2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
padding: var(--Space-x3) var(--Space-x7) var(--Space-x1) var(--Space-x3);
|
padding: var(--Space-x3) var(--Space-x7) var(--Space-x3) var(--Space-x3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.contentWithoutActions {
|
.contentWithoutActions {
|
||||||
|
|||||||
Reference in New Issue
Block a user