Formatting and typos

This commit is contained in:
Sean Edmunds
2025-03-21 14:20:18 -05:00
parent 2b972afa68
commit ff7a78e44f
19 changed files with 596 additions and 902 deletions

View File

@@ -34,7 +34,7 @@ const WolClientSettings = () => {
});
const [wolClients, setWolClients] = useState<any>([]);
const { mutateAsync } = useMutationAPI();
const { theme } = useCommonHooks();
const { theme, isMobile } = useCommonHooks();
const [newWolClient, setNewWolClient] = useState<any>({
hostname: '',
macAddress: '',
@@ -62,6 +62,7 @@ const WolClientSettings = () => {
className={modalClasses.helpModal}
classNames={modalClasses}
opened={modalOpened}
fullScreen={isMobile}
onClose={() => {
closeModal();
}}
@@ -79,7 +80,7 @@ const WolClientSettings = () => {
<Modal.Overlay />
<Modal.Content>
<Modal.Header>
<Modal.Title>Add a new application</Modal.Title>
<Modal.Title>Add a new WoL Client</Modal.Title>
<Modal.CloseButton />
</Modal.Header>
<Modal.Body pb={'2rem'}>
@@ -206,7 +207,7 @@ const WolClientSettings = () => {
<Stack w={'100%'} align='center'>
<Grid columns={18} w={'75%'}>
{wolClients?.map((client: any) => (
<GridCol span={6} key={client.id}>
<GridCol span={isMobile ? 18 : 6} key={client.id}>
<Popover withArrow withOverlay withinPortal={false}>
<Popover.Target>
<Box