From 78d36e3840040577d28f447f11dd414895836b59 Mon Sep 17 00:00:00 2001 From: Ritchie Vincent Date: Thu, 9 Jan 2020 16:31:54 +0000 Subject: [PATCH] Improve instance hardware view Signed-off-by: Rohit Yadav --- ui/src/components/view/InfoCard.vue | 4 +- ui/src/views/compute/InstanceHardware.vue | 288 +++++++++++++--------- 2 files changed, 176 insertions(+), 116 deletions(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index a1cc225e932..19c59ec0f13 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -768,6 +768,7 @@ export default { margin-right: 20px; overflow: hidden; border-radius: 50%; + min-width: 50px; img { height: 100%; @@ -788,7 +789,8 @@ export default { } } .resource-detail-item { - margin-bottom: 30px; + margin-bottom: 20px; + word-break: break-word; &__details { display: flex; diff --git a/ui/src/views/compute/InstanceHardware.vue b/ui/src/views/compute/InstanceHardware.vue index a42e95a9115..a285d5e13c0 100644 --- a/ui/src/views/compute/InstanceHardware.vue +++ b/ui/src/views/compute/InstanceHardware.vue @@ -17,7 +17,7 @@