Total
@@ -110,13 +114,9 @@ const KVMResourceMeter = ({
>
{`${formattedAllocated} of ${formattedTotal}${formattedUnit} allocated`}
- )
- }
- labelClassName="u-align--right"
- max={total}
- segmented={segmented}
- small
- />
+ )}
+
+
);
};
diff --git a/src/app/kvm/components/StorageColumn/StoragePopover/StoragePopover.tsx b/src/app/kvm/components/StorageColumn/StoragePopover/StoragePopover.tsx
index 5cde7f6eb1..7822c76fc3 100644
--- a/src/app/kvm/components/StorageColumn/StoragePopover/StoragePopover.tsx
+++ b/src/app/kvm/components/StorageColumn/StoragePopover/StoragePopover.tsx
@@ -91,35 +91,38 @@ const StoragePopover = ({
value: freeBytes > 0 ? freeBytes : 0,
},
]}
- label={
-
- -
-
- {`${allocated.value}${allocated.unit}`}
-
- {showOthers && (
+ max={pool.total}
+ >
+
+ {
+
-
-
- {`${other.value}${other.unit}`}
+
+ {`${allocated.value}${allocated.unit}`}
- )}
- -
-
- {`${free.value}${free.unit}`}
-
-
- }
- max={pool.total}
- />
+ {showOthers && (
+ -
+
+ {`${other.value}${other.unit}`}
+
+ )}
+ -
+
+ {`${free.value}${free.unit}`}
+
+
+ }
+
+
);
diff --git a/yarn.lock b/yarn.lock
index 5f2ceb2ecf..8d22d3ac46 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2907,10 +2907,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
-"@canonical/maas-react-components@1.4.1":
- version "1.4.1"
- resolved "https://registry.yarnpkg.com/@canonical/maas-react-components/-/maas-react-components-1.4.1.tgz#9b165bed308a0ebfd361f86b485ca2bf0d28264b"
- integrity sha512-D6RlDTIckoxyg/ZJa5f+WwhJuRynKeBsBKlWVph9eYWlp/31oCfC+voBnB1A6275pq1F5GVLm8DW+/cDMjbASA==
+"@canonical/maas-react-components@1.5.0":
+ version "1.5.0"
+ resolved "https://registry.yarnpkg.com/@canonical/maas-react-components/-/maas-react-components-1.5.0.tgz#3cda970c9f95a1379f22fddd37e9c94eb7e345b2"
+ integrity sha512-pef2X+mf/W+/3q3kkIBrD9gHjb0z0S+JghDkd0mlmYuCbGxb+PqXk0vzlyEfzbIsltI0H/UEJLtNhM6kVTtD9A==
"@canonical/macaroon-bakery@1.3.2":
version "1.3.2"