style(static): format payload admin static components
This commit is contained in:
parent
9f4faa948b
commit
cdeebd05f8
3 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,9 @@ import { Button } from "@payloadcms/ui";
|
|||
export const GoToFrontendLink = () => {
|
||||
return (
|
||||
<Link href="/" className="absolute top-0 right-0 p-3.5 z-10">
|
||||
<Button margin={false} buttonStyle="dashed">Go to Frontend</Button>
|
||||
<Button margin={false} buttonStyle="dashed">
|
||||
Go to Frontend
|
||||
</Button>
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { useField, useFormFields } from "@payloadcms/ui";
|
||||
import { useField } from "@payloadcms/ui";
|
||||
|
||||
const calculateTicks = (value: number) => {
|
||||
const totalMinutes = value * 10;
|
||||
|
|
|
|||
|
|
@ -60,9 +60,7 @@ const VersionOverlay = () => {
|
|||
return (
|
||||
<div className="fixed top-0 z-9999 w-full flex justify-center">
|
||||
<div className="text-white flex flex-col items-center justify-center bg-red-950 w-fit px-2 rounded-b group overflow-hidden">
|
||||
<span className="text-center text-sm pointer-events-none">
|
||||
version {versionLabel}
|
||||
</span>
|
||||
<span className="text-center text-sm pointer-events-none">version {versionLabel}</span>
|
||||
{showSecondary && (
|
||||
<span className="text-center text-xs h-0 group-hover:h-full pointer-events-none transition-all duration-100 ease-in-out">
|
||||
{lastUpdated && <>last updated {lastUpdated}</>}
|
||||
|
|
|
|||
Loading…
Reference in a new issue