(feature)(webapp) add display of time consumption at each stage (#331)

This commit is contained in:
williamhliu
2023-11-06 20:35:14 +08:00
committed by GitHub
parent e00b935c1f
commit 6c9983164e
21 changed files with 417 additions and 158 deletions

View File

@@ -1,27 +1,46 @@
.showCase {
column-count: 2;
column-gap: 20px;
position: relative;
height: 100%;
min-height: 400px;
padding: 0 20px;
overflow-y: auto;
padding-bottom: 2px;
.showCaseItem {
display: flex;
flex-direction: column;
row-gap: 12px;
padding: 12px;
margin-bottom: 20px;
max-height: 800px;
overflow-y: auto;
border-radius: 12px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
background: linear-gradient(180deg, rgba(23, 74, 228, 0) 29.44%, rgba(23, 74, 228, 0.06) 100%),
linear-gradient(90deg, #f3f3f7 0%, #f3f3f7 20%, #ebf0f9 60%, #f3f3f7 80%, #f3f3f7 100%);
.showCaseContent {
column-count: 2;
column-gap: 20px;
.showCaseChatItem {
.showcaseLoading {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 400px;
}
.showCaseItem {
display: flex;
flex-direction: column;
row-gap: 12px;
padding: 12px;
margin-bottom: 20px;
overflow-y: auto;
border-radius: 12px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
background: linear-gradient(180deg, rgba(23, 74, 228, 0) 29.44%, rgba(23, 74, 228, 0.06) 100%),
linear-gradient(90deg, #f3f3f7 0%, #f3f3f7 20%, #ebf0f9 60%, #f3f3f7 80%, #f3f3f7 100%);
.showCaseChatItem {
display: flex;
flex-direction: column;
row-gap: 12px;
}
}
}
&.mobile {
padding: 0 4px;
.showCaseContent {
column-count: 1;
}
}
}