space elements via the parent, remove margins

This commit is contained in:
Ben Phelps 2022-08-27 11:03:42 +03:00
parent 086c767ed6
commit 688caa02c5
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import Memory from "./memory";
export default function Resources({ options }) {
return (
<>
<div className="pr-2 flex flex-col mr-2">
<div className="pr-2 flex flex-col">
<div className="flex flex-row space-x-4">
{options.disk && <Disk options={options} />}
{options.cpu && <Cpu />}

View File

@ -29,7 +29,7 @@ export default function Home() {
<title>Welcome</title>
</Head>
<div className="w-full container m-auto flex flex-col h-screen justify-between">
<div className="flex flex-wrap m-8 pb-4 mt-10 border-b-2 border-theme-800 dark:border-theme-200">
<div className="flex flex-wrap space-x-4 m-8 pb-4 mt-10 border-b-2 border-theme-800 dark:border-theme-200">
{widgets && (
<>
{widgets