Skip to content

Commit

Permalink
Fix padding in the cockpit-storage iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Jan 23, 2024
1 parent f9b1552 commit 026f919
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions src/components/storage/CockpitStorageIntegration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,12 @@ export const CockpitStorageIntegration = ({
</Flex>
</PageSection>
<div className={idPrefix + "-page-section-cockpit-storage"}>
<iframe
src="/cockpit/@localhost/storage/index.html"
className={idPrefix + "-iframe-cockpit-storage"} />
<PageSection>
<iframe
src="/cockpit/@localhost/storage/index.html"
name="cockpit-storage"
className={idPrefix + "-iframe-cockpit-storage"} />
</PageSection>
<ModifyStorageSideBar />
</div>
<PageSection
Expand Down
8 changes: 4 additions & 4 deletions src/components/storage/CockpitStorageIntegration.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
padding-bottom: 0;
}

.cockpit-storage-integration-sidebar {
padding-left: 0;
}

.cockpit-storage-integration-iframe-cockpit-storage {
height: 100%;
}
Expand All @@ -20,6 +16,10 @@
grid-template-columns: 3fr 1fr;
}

.cockpit-storage-integration-sidebar {
padding-left: 0;
}

.cockpit-storage-integration-page-section-cockpit-storage {
flex: 1;
}
Expand Down

0 comments on commit 026f919

Please sign in to comment.