Skip to content

Commit 2917b58

Browse files
committed
fix: improve NodeCardWidget styling
- Added inline-block display and max-content width to the host info label for better layout and visibility.
1 parent 8818c8e commit 2917b58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/widgets/dashboard/nodes/node-card/node-card.widget.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ export function NodeCardWidget(props: IProps) {
140140

141141
<Text
142142
className={classes.hostInfoLabel}
143+
display="inline-block"
144+
maw="max-content"
143145
onClick={handleCopy}
144146
style={{ cursor: 'copy' }}
145147
truncate="end"

0 commit comments

Comments
 (0)