Skip to content

Commit

Permalink
Update network hostname display style
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
FarahRasheed1 authored and sivaprabug committed Jul 12, 2024
1 parent 8b19ffa commit b8a2e70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Settings/Network/NetworkGlobalSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<icon-edit :title="$t('pageNetwork.modal.editHostnameTitle')" />
</b-button>
</dt>
<dd>{{ dataFormatter(firstInterface.hostname) }}</dd>
<dd style="word-break: break-all">
{{ dataFormatter(firstInterface.hostname) }}
</dd>
</dl>
</b-col>
<b-col md="2">
Expand Down

0 comments on commit b8a2e70

Please sign in to comment.