Skip to content

Commit 6a1961b

Browse files
committed
style: center doctor status text
1 parent d4e3a64 commit 6a1961b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

web-ui/styles/dashboard.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
display: flex;
9393
flex-wrap: wrap;
9494
gap: 10px;
95+
justify-content: center;
9596
}
9697

9798
.doctor-status-chip {
@@ -104,6 +105,8 @@
104105
background: rgba(255, 255, 255, 0.78);
105106
font-size: var(--font-size-caption);
106107
color: var(--color-text-secondary);
108+
justify-content: center;
109+
text-align: center;
107110
}
108111

109112
.doctor-status-chip strong {
@@ -135,6 +138,7 @@
135138
border: 1px solid var(--color-border-soft);
136139
padding: 12px 12px 10px;
137140
background: rgba(255, 255, 255, 0.78);
141+
text-align: center;
138142
}
139143

140144
.doctor-health-result.ok {
@@ -153,13 +157,15 @@
153157
font-weight: var(--font-weight-secondary);
154158
color: var(--color-text-primary);
155159
margin-bottom: 8px;
160+
text-align: center;
156161
}
157162

158163
.doctor-health-issues {
159164
display: flex;
160165
flex-direction: column;
161166
gap: 6px;
162167
font-size: var(--font-size-caption);
168+
align-items: center;
163169
}
164170

165171
.doctor-health-issue {
@@ -170,6 +176,9 @@
170176
color: var(--color-text-secondary);
171177
overflow-wrap: anywhere;
172178
word-break: break-word;
179+
text-align: center;
180+
width: 100%;
181+
max-width: 720px;
173182
}
174183

175184
@media (max-width: 520px) {

0 commit comments

Comments
 (0)