space elements via the parent, remove margins

pull/34/head
Ben Phelps 2 years ago
parent 086c767ed6
commit 688caa02c5

@ -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 />}

@ -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

Loading…
Cancel
Save