fix: replace temp design system components with design system package in surprises

This commit is contained in:
Christian Andolf
2025-05-21 16:34:56 +02:00
parent dfac13f9ad
commit 76994f6e01
7 changed files with 113 additions and 86 deletions

View File

@@ -72,8 +72,8 @@
.dialog {
display: flex;
flex-direction: column;
gap: var(--Spacing-x2);
padding-bottom: var(--Spacing-x2);
gap: var(--Space-x2);
padding-bottom: var(--Space-x2);
/* to hide sliding cards */
position: relative;
@@ -88,7 +88,7 @@
height: var(--button-height);
position: relative;
justify-content: center;
padding: var(--Spacing-x2) var(--Spacing-x2) 0;
padding: var(--Space-x2) var(--Space-x2) 0;
}
.content {
@@ -96,17 +96,28 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 var(--Spacing-x3);
gap: var(--Spacing-x2);
padding: 0 var(--Space-x3);
gap: var(--Space-x2);
min-height: 350px;
}
.title {
color: var(--Base-Text-High-contrast);
}
.widthFull {
width: 100%;
}
.textCenter {
text-align: center;
}
.nav {
border-top: 1px solid var(--Base-Border-Subtle);
display: flex;
justify-content: space-between;
padding: 0 var(--Spacing-x2);
width: 100%;
margin: 0 var(--Space-x2);
}
.nav button {
@@ -134,7 +145,7 @@
border: none;
cursor: pointer;
position: absolute;
right: var(--Spacing-x2);
right: var(--Space-x2);
width: 32px;
height: var(--button-height);
display: flex;