refine Semi UI alert workspace

This commit is contained in:
lingniu
2026-07-18 14:12:44 +08:00
parent 32c8939eb5
commit 01d165d771
4 changed files with 70 additions and 2 deletions

View File

@@ -6649,6 +6649,35 @@
box-shadow: 0 5px 18px rgba(31, 53, 80, .045);
}
.v2-alert-command-bar.v2-workspace-command-bar {
max-width: none;
padding: 5px 7px 5px 14px;
}
.v2-alert-command-bar .v2-workspace-command-copy {
max-width: 310px;
flex: 1 1 220px;
}
.v2-alert-command-bar .v2-workspace-command-copy > .semi-typography:first-child {
font-size: 14px;
}
.v2-alert-command-bar .v2-workspace-command-copy > .semi-typography:last-child {
max-width: 310px;
font-size: 10px;
}
.v2-alert-command-bar .v2-workspace-command-actions {
flex: 1 1 auto;
justify-content: flex-end;
gap: 9px;
}
.v2-alert-command-bar .v2-workspace-command-actions > .v2-alert-tabs {
order: -1;
}
.v2-alert-navigation .v2-alert-tabs.v2-segmented-tabs {
width: auto;
min-height: 40px;
@@ -7349,6 +7378,22 @@
padding: 4px;
}
.v2-alert-command-bar.v2-workspace-command-bar {
display: block;
min-height: 50px;
}
.v2-alert-command-bar .v2-workspace-command-copy,
.v2-alert-command-bar .v2-workspace-command-actions > .semi-tag,
.v2-alert-command-bar .v2-workspace-command-meta {
display: none;
}
.v2-alert-command-bar .v2-workspace-command-actions {
display: block;
width: 100%;
}
.v2-alert-navigation .v2-alert-tabs.v2-segmented-tabs {
position: static;
width: 100%;