mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2026-01-06 05:02:16 +00:00
refactor!: refine spacings
BREAKING CAHNGE: some spaces changed
This commit is contained in:
@@ -69,33 +69,35 @@ export default function Page() {
|
||||
<PageSection title="Configuration">
|
||||
<Configurations list={[uppercaseConfig]} />
|
||||
</PageSection>
|
||||
<PageSection className="my-4" title="Input" control={inputControl}>
|
||||
<PageSection className="-mt-2" title="Input" control={inputControl}>
|
||||
<Textarea value={input} onChange={onInputChange} rows={5} />
|
||||
</PageSection>
|
||||
<PageSection title="MD5">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={md5} readOnly />
|
||||
<ControlMenu list={[md5CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA1">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha1} readOnly />
|
||||
<ControlMenu list={[sha1CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA256">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha256} readOnly />
|
||||
<ControlMenu list={[sha256CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA512">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha512} readOnly />
|
||||
<ControlMenu list={[sha512CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<div className="flex flex-col gap-3">
|
||||
<PageSection title="MD5">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={md5} readOnly />
|
||||
<ControlMenu list={[md5CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA1">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha1} readOnly />
|
||||
<ControlMenu list={[sha1CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA256">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha256} readOnly />
|
||||
<ControlMenu list={[sha256CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="SHA512">
|
||||
<div className="flex gap-2">
|
||||
<Input className="flex-1" value={sha512} readOnly />
|
||||
<ControlMenu list={[sha512CopyButton]} />
|
||||
</div>
|
||||
</PageSection>
|
||||
</div>
|
||||
</PageRootSection>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ export default function Page() {
|
||||
<PageSection title="Configuration">
|
||||
<Configurations list={[hyphensConfig, uppercaseConfig, uuidVersionConfig]} />
|
||||
</PageSection>
|
||||
<PageSection className="mt-6" title="Generate">
|
||||
<PageSection title="Generate">
|
||||
<div className="flex items-center gap-2">
|
||||
<Button variant="secondary" onClick={onGenerateClick}>
|
||||
Generate UUID(s)
|
||||
@@ -140,7 +140,7 @@ export default function Page() {
|
||||
/>
|
||||
</div>
|
||||
</PageSection>
|
||||
<PageSection title="UUID(s)" control={uuidsControl}>
|
||||
<PageSection className="-mt-3" title="UUID(s)" control={uuidsControl}>
|
||||
<Textarea {...{ ref }} value={uuidsString} rows={10} readOnly />
|
||||
</PageSection>
|
||||
</PageRootSection>
|
||||
|
||||
Reference in New Issue
Block a user