Skip to content

Commit d114484

Browse files
committed
font size modifed for stat label
1 parent 0c336a5 commit d114484

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

thingconnect.pulse.client/src/pages/EndpointDetail.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ export default function EndpointDetail() {
183183
const latestCheck = recent.length > 0 ? recent[0] : null;
184184
const currentStatus = latestCheck?.status || 'unknown';
185185

186-
// inside EndpointDetail component (before return)
187186
const stats = [
188187
{
189188
key: 'uptime',
@@ -359,7 +358,9 @@ export default function EndpointDetail() {
359358
</Box>
360359
<VStack align='self-start'>
361360
<Stat.Label>{stat.label}</Stat.Label>
362-
<Stat.ValueText>{stat.value}</Stat.ValueText>
361+
<Stat.ValueText fontSize={stat.key === 'lastCheck' ? 'sm' : undefined}>
362+
{stat.value}
363+
</Stat.ValueText>
363364
<Stat.HelpText>{stat.help}</Stat.HelpText>
364365
</VStack>
365366
</HStack>

0 commit comments

Comments
 (0)