Merged in feat/LOY-484-consent-alert (pull request #3184)

feat(LOY-484): Change toast to alert for Profiling Consent

* feat(LOY-484): change toast to alert using context

* refactor(LOY-484): remove uneccesary code

* chore(LOY-484): small UI fixes


Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Matilda Landström
2025-11-26 12:13:04 +00:00
parent 086319e8b1
commit 26f3b5bdd0
6 changed files with 173 additions and 38 deletions

View File

@@ -8,6 +8,8 @@
padding: var(--Space-x4) var(--Space-x2) 0;
display: grid;
gap: var(--Space-x6);
border-radius: var(--Corner-radius-Medium) var(--Corner-radius-Medium) 0 0;
}
.buttons {
@@ -20,6 +22,12 @@
padding: var(--Space-x2) var(--Space-x3) var(--Space-x3) var(--Space-x3);
border-top: 1px solid var(--Border-Divider-Subtle);
background: var(--Base-Surface-Primary-light-Normal);
border-radius: 0 0 var(--Corner-radius-Medium) var(--Corner-radius-Medium);
button {
width: 100%;
}
}
.title {
@@ -48,11 +56,19 @@
.form {
padding: var(--Space-x4) var(--Space-x3) 0;
gap: var(--Space-x6);
border-radius: 0;
}
.buttons {
flex-direction: row-reverse;
gap: var(--Space-x2);
padding: var(--Space-x6) var(--Space-x3) var(--Space-x4);
border-radius: 0;
button {
width: auto;
}
}
}