Skip to content

Commit 56c9f2f

Browse files
authored
Merge pull request #328 from FlowFuse/184-text-layout
UI Text: Reintroduce the `ui-text` dynamic layout class & make (default) font sizing consistent
2 parents 7a5b6b6 + 82b9722 commit 56c9f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/widgets/ui-text/UIText.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div :style="props.style">
2+
<div class="nrdb-ui-text" :class="'nrdb-ui-text--' + props.layout" :style="props.style">
33
<label class="nrdb-ui-text-label">{{ props.label }}</label>
44
<span class="nrdb-ui-text-value">{{ value !== null ? value : 'No Message Received' }}</span>
55
</div>
@@ -34,6 +34,7 @@ export default {
3434
display: flex;
3535
flex-direction: row;
3636
gap: 2px;
37+
font-size: 1rem;
3738
}
3839
.nrdb-ui-text-value {
3940
font-weight: 600;

0 commit comments

Comments
 (0)