fix: expand playground diagnostics and compose fallback

This commit is contained in:
linkong committed 2026-04-09 16:38:55 +08:00
1 parent 39f90bd575
commit 306ba7f850
9 files changed
+394 -26

No files matched your search

+43
View File
@@ -380,6 +380,23 @@ body {
padding-bottom: 4px;
}
.playground-preset-strip {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 16px;
padding: 12px;
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.playground-preset-strip__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.playground-form__actions {
display: flex;
gap: 12px;
@@ -555,10 +572,23 @@ body {
.playground-result__meta {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
}
.playground-result__meta-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.playground-result__descriptions .ant-descriptions-view {
border-radius: 14px;
overflow: hidden;
}
.playground-result__content,
.playground-result__blocks .ant-card {
border-radius: 14px;
@@ -591,6 +621,13 @@ body {
gap: 12px;
}
.playground-result__blocks-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.playground-result__blocks-scroll {
max-height: 180px;
overflow: auto;
@@ -619,6 +656,12 @@ body {
min-width: 0;
max-width: none;
}
.playground-result__meta,
.playground-result__blocks-head {
align-items: stretch;
flex-direction: column;
}
}