1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #5422: Remove redundant styles (#2055)

This commit is contained in:
Sergio Betanzos 2022-05-18 14:54:46 +02:00 committed by GitHub
parent 5b35eb7946
commit cd023c29e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -125,7 +125,7 @@ const NicCard = memo(
<div className={classes.actions}>{actions}</div>
)}
{!!ALIAS?.length && (
<Stack direction="column" gap="1em" flexBasis="100%" my="0.5em">
<Stack gap="1em" flexBasis="100%" my="0.5em">
{ALIAS?.map((alias, aliasIdx) => (
<NicCard
key={alias.NIC_ID}

View File

@ -69,7 +69,7 @@ const VmNetworkTab = ({ tabProps: { actions } = {}, id }) => {
<AttachAction vmId={id} currentNics={nics} hypervisor={hypervisor} />
)}
<Stack direction="column" gap="1em" py="0.8em">
<Stack gap="1em" py="0.8em">
{nics.map((nic) => {
const { IP, MAC, ADDRESS } = nic
const key = IP ?? MAC ?? ADDRESS // address only exists form PCI nics

View File

@ -137,7 +137,7 @@ const VmSchedulingTab = ({ tabProps: { actions } = {}, id }) => {
</Stack>
)}
<Stack direction="column" gap="1em" py="0.8em">
<Stack gap="1em" py="0.8em">
{scheduling.map((schedule) => {
const { ID, NAME } = schedule

View File

@ -63,7 +63,7 @@ const VmSnapshotTab = ({ tabProps: { actions } = {}, id }) => {
<CreateAction vmId={id} />
)}
<Stack direction="column" gap="1em" py="0.8em">
<Stack gap="1em" py="0.8em">
{snapshots.map((snapshot) => (
<SnapshotCard
snapshot={snapshot}

View File

@ -78,7 +78,7 @@ const VmStorageTab = ({ tabProps: { actions } = {}, id }) => {
<AttachAction vmId={id} hypervisor={hypervisor} />
)}
<Stack direction="column" gap="1em" py="0.8em">
<Stack gap="1em" py="0.8em">
{disks.map((disk) => {
const isImage = disk.IMAGE_ID !== undefined
const imageName = getDiskName(disk)