Skip to content

Commit

Permalink
Reintroduce the ui-text dynamic layout class & make (default) font …
Browse files Browse the repository at this point in the history
…sizing consistent
  • Loading branch information
joepavitt committed Nov 8, 2023
1 parent 7a5b6b6 commit 82b9722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/widgets/ui-text/UIText.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div :style="props.style">
<div class="nrdb-ui-text" :class="'nrdb-ui-text--' + props.layout" :style="props.style">
<label class="nrdb-ui-text-label">{{ props.label }}</label>
<span class="nrdb-ui-text-value">{{ value !== null ? value : 'No Message Received' }}</span>
</div>
Expand Down Expand Up @@ -34,6 +34,7 @@ export default {
display: flex;
flex-direction: row;
gap: 2px;
font-size: 1rem;
}
.nrdb-ui-text-value {
font-weight: 600;
Expand Down

0 comments on commit 82b9722

Please sign in to comment.