fix(ui): normalize font sizes in machine detail view

This commit is contained in:
Brian McGee
2025-05-27 09:17:11 +01:00
parent 465fd14bfe
commit c36cf800bb

View File

@@ -77,10 +77,12 @@ const LoadingBar = () => (
function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
interface InstallMachineProps {
name?: string;
machine: MachineData;
}
const InstallMachine = (props: InstallMachineProps) => {
const { activeClanURI } = useClanContext();
@@ -381,6 +383,7 @@ const InstallMachine = (props: InstallMachineProps) => {
interface MachineDetailsProps {
initialData: MachineData;
}
const MachineForm = (props: MachineDetailsProps) => {
const [formStore, { Form, Field }] =
// TODO: retrieve the correct initial values from API
@@ -617,6 +620,7 @@ const MachineForm = (props: MachineDetailsProps) => {
</Field>
</Fieldset>
<Typography hierarchy={"body"} size={"s"}>
<Fieldset legend="Hardware">
<Field name="hw_config">
{(field, props) => (
@@ -638,6 +642,7 @@ const MachineForm = (props: MachineDetailsProps) => {
)}
</Field>
</Fieldset>
</Typography>
<Accordion title="Connection Settings">
<Fieldset>