Skip to content

Commit b8a2e70

Browse files
FarahRasheed1sivaprabug
authored andcommitted
Update network hostname display style
Add 'word-break: break-all' CSS property to ensure long hostnames wrap properly within their container. This prevents overflow issues that occur with long hostnames without spaces. Fixes #111 The change improves the readability and layout consistency of the network information display in the NetworkGlobalSettings view. Change-Id: I142d18b9507f6ae0a90778e5a338b015507c9d79 Signed-off-by: Farah Rasheed <[email protected]>
1 parent 8b19ffa commit b8a2e70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/views/Settings/Network/NetworkGlobalSettings.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<icon-edit :title="$t('pageNetwork.modal.editHostnameTitle')" />
1313
</b-button>
1414
</dt>
15-
<dd>{{ dataFormatter(firstInterface.hostname) }}</dd>
15+
<dd style="word-break: break-all">
16+
{{ dataFormatter(firstInterface.hostname) }}
17+
</dd>
1618
</dl>
1719
</b-col>
1820
<b-col md="2">

0 commit comments

Comments
 (0)