mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 05:05:26 +03:00
color tweaks and spacing on config editor
This commit is contained in:
parent
15065976f2
commit
b3e094fcb6
@ -64,7 +64,7 @@ export function Tick({ timestamp, timestampSpread }: TickSegmentProps) {
|
|||||||
className={`h-0.5 ${
|
className={`h-0.5 ${
|
||||||
timestamp.getMinutes() % timestampSpread === 0 &&
|
timestamp.getMinutes() % timestampSpread === 0 &&
|
||||||
timestamp.getSeconds() === 0
|
timestamp.getSeconds() === 0
|
||||||
? "w-[12px] bg-neutral-600"
|
? "w-[12px] bg-neutral-600 dark:bg-neutral-500"
|
||||||
: timestamp.getMinutes() % (timestampSpread == 15 ? 5 : 1) ===
|
: timestamp.getMinutes() % (timestampSpread == 15 ? 5 : 1) ===
|
||||||
0 && timestamp.getSeconds() === 0
|
0 && timestamp.getSeconds() === 0
|
||||||
? "w-[8px] bg-neutral-500 dark:bg-neutral-600" // Minor tick mark
|
? "w-[8px] bg-neutral-500 dark:bg-neutral-600" // Minor tick mark
|
||||||
@ -88,7 +88,7 @@ export function Timestamp({
|
|||||||
{!isFirstSegmentInMinimap && !isLastSegmentInMinimap && (
|
{!isFirstSegmentInMinimap && !isLastSegmentInMinimap && (
|
||||||
<div
|
<div
|
||||||
key={`${segmentKey}_timestamp`}
|
key={`${segmentKey}_timestamp`}
|
||||||
className="text-[8px] text-neutral-600"
|
className="text-[8px] text-neutral-600 dark:text-neutral-500"
|
||||||
>
|
>
|
||||||
{timestamp.getMinutes() % timestampSpread === 0 &&
|
{timestamp.getMinutes() % timestampSpread === 0 &&
|
||||||
timestamp.getSeconds() === 0 &&
|
timestamp.getSeconds() === 0 &&
|
||||||
|
|||||||
@ -123,7 +123,7 @@ function ConfigEditor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="absolute top-2 bottom-16 right-0 left-0 md:left-12">
|
<div className="absolute top-2 bottom-16 right-0 left-0 md:left-2">
|
||||||
<div className="lg:flex justify-between mr-1">
|
<div className="lg:flex justify-between mr-1">
|
||||||
<Heading as="h2">Config</Heading>
|
<Heading as="h2">Config</Heading>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user