Revert "fix(editor): Schema view render empty data"

This reverts commit 0294b5e8 for Alert component
This commit is contained in:
Csaba Tuncsik 2022-12-13 10:10:53 +01:00
parent ef06ea8090
commit 7fb7ef5aa2

View file

@ -81,9 +81,11 @@ const alertBoxClassNames = computed(() => {
.alert { .alert {
display: flex; display: flex;
position: relative; position: relative;
min-height: 60px;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: $alert-padding;
&.center { &.center {
justify-content: center; justify-content: center;
@ -200,15 +202,6 @@ const alertBoxClassNames = computed(() => {
} }
} }
} }
&.background {
min-height: 60px;
padding: $alert-padding;
.icon {
padding-left: var(--spacing-2xs);
}
}
} }
.content { .content {
@ -220,7 +213,8 @@ const alertBoxClassNames = computed(() => {
display: inline-flex; display: inline-flex;
color: inherit; color: inherit;
align-items: center; align-items: center;
padding-right: var(--spacing-2xs); padding-left: var(--spacing-2xs);
padding-right: var(--spacing-s);
} }
.text { .text {
@ -233,14 +227,11 @@ const alertBoxClassNames = computed(() => {
font-size: $alert-title-font-size; font-size: $alert-title-font-size;
line-height: 18px; line-height: 18px;
font-weight: bold; font-weight: bold;
+ .description {
margin-top: var(--spacing-2xs);
}
} }
.description { .description {
font-size: $alert-description-font-size; font-size: $alert-description-font-size;
margin: 5px 0 0 0;
} }
.aside { .aside {