feat(config): render versions in two grid columns

This commit is contained in:
kunish 2023-09-23 02:16:17 +08:00
parent 07d3e7fdce
commit 64f2d7139a
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -76,6 +76,7 @@ const DNSQueryForm = () => {
type="search" type="search"
name="name" name="name"
class="input input-bordered min-w-0 flex-1" class="input input-bordered min-w-0 flex-1"
placeholder="google.com"
/> />
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
@ -455,7 +456,7 @@ const Versions = () => {
}) })
return ( return (
<div class="flex items-center justify-center gap-4"> <div class="grid grid-cols-2 gap-4">
<kbd class="kbd">{import.meta.env.version}</kbd> <kbd class="kbd">{import.meta.env.version}</kbd>
<kbd class="kbd">{backendVersion()}</kbd> <kbd class="kbd">{backendVersion()}</kbd>
</div> </div>