refine Semi UI mobile history workspace
This commit is contained in:
@@ -6371,23 +6371,46 @@
|
||||
}
|
||||
|
||||
.v2-history-context-card.semi-card {
|
||||
min-height: 110px;
|
||||
min-height: 126px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
.v2-history-context {
|
||||
display: flex;
|
||||
min-height: 110px;
|
||||
min-height: 126px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.v2-history-context .v2-history-metrics {
|
||||
min-height: 52px;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 7px;
|
||||
min-height: 68px;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
grid-template-rows: auto auto;
|
||||
gap: 6px 8px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid #e5ebf2;
|
||||
padding: 8px 9px;
|
||||
padding: 7px 9px 8px;
|
||||
}
|
||||
|
||||
.v2-history-metrics-heading {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
align-items: baseline;
|
||||
flex-direction: row;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.v2-history-metric-scroll {
|
||||
width: 100%;
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 2;
|
||||
padding: 1px 12px 1px 0;
|
||||
scroll-padding-inline: 0 12px;
|
||||
scroll-snap-type: inline proximity;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.v2-history-metric-scroll::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-history-metrics-heading > strong {
|
||||
@@ -6400,18 +6423,21 @@
|
||||
|
||||
.v2-history-context .v2-history-metric-tag.semi-tag {
|
||||
height: 28px;
|
||||
scroll-snap-align: start;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.v2-history-context .v2-history-metrics-manage.semi-button {
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
min-height: 34px;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
min-width: 76px;
|
||||
min-height: 30px;
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.v2-history-context .v2-history-metrics-manage .semi-button-content-right {
|
||||
display: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.v2-history-context .v2-history-summary {
|
||||
@@ -6475,8 +6501,7 @@
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.v2-history-table-card .v2-workspace-panel-meta,
|
||||
.v2-history-table-card .v2-workspace-panel-actions > .semi-button .semi-button-content {
|
||||
.v2-history-table-card .v2-workspace-panel-meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -6491,6 +6516,25 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.v2-history-table-card .v2-history-result-actions.is-mobile-actions > .semi-button .semi-button-content {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.v2-history-table-card .v2-history-result-actions.is-mobile-actions > .semi-button .semi-button-content-right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.v2-history-table-card .v2-history-result-actions.is-mobile-actions > .semi-button .semi-icon {
|
||||
color: #5f7188;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.v2-history-table-card .v2-history-result-actions.is-mobile-actions > .v2-history-table-trend.is-expanded .semi-icon {
|
||||
color: var(--v2-blue);
|
||||
}
|
||||
|
||||
.v2-history-workspace {
|
||||
min-height: 0;
|
||||
flex: 1 1 0;
|
||||
|
||||
Reference in New Issue
Block a user