fix: chat history persists, reuse active consultation, load messages properly
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
.greetingBar {
|
||||
padding: 8px 0 16px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.greetingText {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.notifyBtn {
|
||||
position: relative;
|
||||
font-size: 20px;
|
||||
@@ -12,12 +25,30 @@
|
||||
box-shadow: var(--shadow-xs);
|
||||
}
|
||||
|
||||
.notifyBadge {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: -2px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
border-radius: 9px;
|
||||
background: #EF4444;
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.overviewCard {
|
||||
margin-bottom: 16px;
|
||||
background: linear-gradient(135deg, #2563EB 0%, #3B82F6 40%, #5B9AFF 100%);
|
||||
color: #fff;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 20px;
|
||||
padding: 16px 14px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -25,7 +56,7 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.overviewTitle {
|
||||
@@ -42,56 +73,60 @@
|
||||
.overviewData {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.bpSection,
|
||||
.hrSection {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.dataLabel {
|
||||
font-size: var(--font-size-xs);
|
||||
font-size: 10px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.bpValues {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 4px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.bpNum {
|
||||
font-size: 36px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bpSep {
|
||||
font-size: var(--font-size-xl);
|
||||
font-size: var(--font-size-md);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.hrNum {
|
||||
font-size: 36px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.unit {
|
||||
font-size: var(--font-size-xs);
|
||||
font-size: 10px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 1px;
|
||||
height: 60px;
|
||||
height: 48px;
|
||||
background: rgba(255,255,255,0.2);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Quick Actions */
|
||||
|
||||
Reference in New Issue
Block a user