Removed position fixed to tenant size preview (#2364)

## What does this do?

Removed position fixed to tenant size preview to avoid overlap of create
buttons

## How does it look?
<img width="1698" alt="Screen Shot 2022-10-05 at 22 15 12"
src="https://user-images.githubusercontent.com/33497058/194206392-62718458-7417-4a01-a2e0-219d22a25483.png">



Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2022-10-06 00:55:18 -05:00
committed by GitHub
parent 89bef6027c
commit 4156fe0666
2 changed files with 9 additions and 2 deletions

View File

@@ -45,7 +45,6 @@ import NamespaceSelector from "./NamespaceSelector";
const styles = (theme: Theme) =>
createStyles({
sizePreview: {
position: "fixed",
marginLeft: 10,
background: "#FFFFFF",
border: "1px solid #EAEAEA",

View File

@@ -152,7 +152,15 @@ const TenantYAML = ({ classes }: ITenantYAMLProps) => {
editorHeight={"550px"}
/>
</Grid>
<Grid item xs={12} style={{ display: "flex", justifyContent: "flex-end", paddingTop: 16 }}>
<Grid
item
xs={12}
style={{
display: "flex",
justifyContent: "flex-end",
paddingTop: 16,
}}
>
<Button
id={"cancel-tenant-yaml"}
type="button"