Skip to content

Commit 6b5cd84

Browse files
committed
fix: minor fixes in NodesDetail and NodeCard
1 parent 1e81d2d commit 6b5cd84

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

core/ui/public/i18n/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@
15211521
"node_id": "Node ID",
15221522
"ip_address": "IP address",
15231523
"applications": "Applications",
1524-
"alerts": "Alert| Alerts",
1524+
"alerts": "Alert | Alerts",
15251525
"no_alerts": "No alerts",
15261526
"ns7_migration_in_progress": "Migration in progress",
15271527
"ns7_migration_tooltip": "This node and its VPN connection are managed on NethServer 7 through the 'NS8 Migration' application.",

core/ui/src/components/nodes/NodeCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export default {
325325
.icon-and-text-compact {
326326
display: flex;
327327
align-items: center;
328-
gap: 0.25rem; /* space between icon and text */
328+
gap: 0.5rem; /* space between icon and text */
329329
margin-top: 0.5rem;
330330
margin-bottom: 0.5rem;
331331
}

core/ui/src/views/NodeDetail.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<template v-if="loading.listNodes">
9999
<cv-skeleton-text
100100
:paragraph="true"
101-
:line-count="10"
101+
:line-count="7"
102102
></cv-skeleton-text>
103103
</template>
104104
<template v-else>
@@ -145,7 +145,7 @@
145145
<template v-if="loading.listNodes">
146146
<cv-skeleton-text
147147
:paragraph="true"
148-
:line-count="10"
148+
:line-count="7"
149149
></cv-skeleton-text>
150150
</template>
151151
<template v-else>
@@ -191,7 +191,7 @@
191191
$t('common.no_search_results_description')
192192
"
193193
:isLoading="loading.listAlerts"
194-
:skeletonRows="5"
194+
:skeletonRows="3"
195195
:isErrorShown="!!error.listAlerts"
196196
:errorTitle="$t('action.list-alerts')"
197197
:errorDescription="error.listAlerts"
@@ -433,9 +433,9 @@
433433
<h4 class="mg-bottom-lg">{{ $t("node_detail.disks") }}</h4>
434434
</cv-column>
435435
</cv-row>
436-
<cv-tile :light="true">
437-
<cv-row>
438-
<cv-column>
436+
<cv-row class="mb-6">
437+
<cv-column>
438+
<cv-tile :light="true">
439439
<!-- card grid -->
440440
<NsDataTable
441441
:allRows="nodeStatus.disks"
@@ -506,9 +506,9 @@
506506
</cv-data-table-row>
507507
</template>
508508
</NsDataTable>
509-
</cv-column>
510-
</cv-row>
511-
</cv-tile>
509+
</cv-tile>
510+
</cv-column>
511+
</cv-row>
512512
</cv-grid>
513513
</div>
514514
</template>

0 commit comments

Comments
 (0)