Commit 7f5ab49c authored by Jan Minář's avatar Jan Minář
Browse files

fix(frontend): layout for part adding

parent 92e83466
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@
  width: 100%;
}

.formAdd__item {
.formAdd__item,
.formAdd__item--slots {
  display: flex;
  flex-direction: row;
  margin: 1rem;
@@ -62,11 +63,17 @@
    font-size: 1rem;
  }

  .formAdd__item {
  .formAdd__item,
  .formAdd__item--slots {
    margin: 0.5rem;
    width: 90%;
  }

  .formAdd__item--slots {
    display: flex;
    flex-direction: column;
  }

  .formAdd__item--input {
    height: 2rem;
    width: 10rem;
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ export function PCIESlotsAttr({ setPCIESlots }: PCIESlotsProps) {
  };

  return (
    <div className="formAdd__item">
    <div className="formAdd__item--slots">
      <label className="formAdd__item--label">PCIE Slots:</label>
      <FormControl>
        <InputLabel id="generation">Generation</InputLabel>
+2 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ export const theme = createTheme({
        root: {
          display: 'flex',
          flexDirection: 'column',
          margin: '0.3rem',
        },
      },
    },
@@ -92,6 +93,7 @@ export const theme = createTheme({
      styleOverrides: {
        select: {
          backgroundColor: 'var(--white)',
          minWidth: '3rem',
        },
      },
    },