Quality of life improvements

This commit is contained in:
q9i 2024-02-15 21:17:18 -08:00
parent e990aaffc6
commit 91bcff4b48
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,6 @@ import {
} from '@/app/components/DataDisplay' } from '@/app/components/DataDisplay'
import { ItemBadge, Status } from '@/app/components/Badges' import { ItemBadge, Status } from '@/app/components/Badges'
import VersionChooser from './VersionChooser' import VersionChooser from './VersionChooser'
import crypto from 'crypto'
import generateHash from '@/app/utils/hash' import generateHash from '@/app/utils/hash'
import { Suspense } from 'react' import { Suspense } from 'react'
import { loadDocument } from '@/app/db/loaders' import { loadDocument } from '@/app/db/loaders'

View file

@ -84,7 +84,7 @@ const VersionChooser = ({
> >
{Array.from({ length: latest }, (_, index) => index + 1).map( {Array.from({ length: latest }, (_, index) => index + 1).map(
(version) => ( (version) => (
<option key={version} value={`v${version}`} className='p-2.5'> <option key={version} value={`v${version}`}>
{version == latest ? 'Latest' : `v${version}`} {version == latest ? 'Latest' : `v${version}`}
</option> </option>
) )

View file

@ -21,20 +21,21 @@ a:hover {
} }
option { option {
appearance: none;
@apply font-sans; @apply font-sans;
@apply p-4; @apply p-4;
} }
.button-default { .button-default {
@apply bg-blue-600 text-slate-100 hover:bg-blue-400 font-semibold rounded py-2 px-4 my-2 shadow-sm shadow-slate-400; @apply bg-blue-600 text-slate-100 hover:bg-blue-400 font-semibold rounded h-12 py-2 px-4 my-2 shadow-sm shadow-slate-400 mr-2;
} }
.button-alternate { .button-alternate {
@apply bg-slate-100 text-slate-700 hover:bg-blue-100 font-semibold rounded py-2 px-4 my-2 shadow-sm shadow-slate-400 mx-2; @apply bg-slate-100 text-slate-700 hover:bg-blue-100 font-semibold rounded h-12 py-2 px-4 my-2 shadow-sm shadow-slate-400 mr-2;
} }
.select-default { .select-default {
@apply bg-slate-100 text-slate-700 hover:bg-blue-100 font-semibold rounded py-2 px-4 my-2 shadow-sm shadow-slate-400 mx-2; @apply bg-slate-100 text-slate-700 hover:bg-blue-100 font-semibold rounded h-12 py-2 px-4 my-2 shadow-sm shadow-slate-400 mr-2;
} }
.badge-base { .badge-base {