forked from pdsls.dev/pdsls
this repo has no description

increase hitslop tab buttons

juli.ee 87177b83 85a31a92

verified
Changed files
+8 -8
src
+1 -1
src/components/create.tsx
··· 479 479 </Modal> 480 480 <Tooltip text={`${props.create ? "Create" : "Edit"} record`}> 481 481 <button 482 - class={`flex items-center p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600 ${props.create ? "rounded-lg" : "rounded-sm"}`} 482 + class={`flex items-center ${props.create ? "p-1" : "p-1.5"} hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600 ${props.create ? "rounded-lg" : "rounded-sm"}`} 483 483 onclick={() => { 484 484 setNotice(""); 485 485 setOpenDialog(true);
+1 -1
src/views/pds.tsx
··· 136 136 <MenuProvider> 137 137 <DropdownMenu 138 138 icon="lucide--ellipsis-vertical" 139 - buttonClass="rounded-sm p-1" 139 + buttonClass="rounded-sm p-1.5" 140 140 menuClass="top-8 p-2 text-sm" 141 141 > 142 142 <CopyMenu content={params.pds} label="Copy PDS" icon="lucide--copy" />
+3 -3
src/views/record.tsx
··· 199 199 <RecordTab tab="backlinks" label="Backlinks" /> 200 200 <RecordTab tab="info" label="Info" error /> 201 201 </div> 202 - <div class="flex gap-1"> 202 + <div class="flex gap-0.5"> 203 203 <Show when={agent() && agent()?.sub === record()?.uri.split("/")[2]}> 204 204 <RecordEditor create={false} record={record()?.value} refetch={refetch} /> 205 205 <Tooltip text="Delete"> 206 206 <button 207 - class="flex items-center rounded-sm p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" 207 + class="flex items-center rounded-sm p-1.5 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" 208 208 onclick={() => setOpenDelete(true)} 209 209 > 210 210 <span class="iconify lucide--trash-2"></span> ··· 228 228 <MenuProvider> 229 229 <DropdownMenu 230 230 icon="lucide--ellipsis-vertical" 231 - buttonClass="rounded-sm p-1" 231 + buttonClass="rounded-sm p-1.5" 232 232 menuClass="top-8 p-2 text-sm" 233 233 > 234 234 <CopyMenu
+3 -3
src/views/repo.tsx
··· 266 266 </Show> 267 267 <RepoTab tab="backlinks" label="Backlinks" /> 268 268 </div> 269 - <div class="flex gap-1"> 269 + <div class="flex gap-0.5"> 270 270 <Show when={error() && error() !== "Missing PDS"}> 271 271 <div class="flex items-center gap-1 text-red-500 dark:text-red-400"> 272 272 <span class="iconify lucide--alert-triangle"></span> ··· 276 276 <Show when={!error() && (!location.hash || location.hash === "#collections")}> 277 277 <Tooltip text="Filter collections"> 278 278 <button 279 - class="flex items-center rounded-sm p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" 279 + class="flex items-center rounded-sm p-1.5 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" 280 280 onClick={() => setShowFilter(!showFilter())} 281 281 > 282 282 <span class="iconify lucide--filter"></span> ··· 286 286 <MenuProvider> 287 287 <DropdownMenu 288 288 icon="lucide--ellipsis-vertical" 289 - buttonClass="rounded-sm p-1" 289 + buttonClass="rounded-sm p-1.5" 290 290 menuClass="top-8 p-2 text-sm" 291 291 > 292 292 <CopyMenu content={params.repo} label="Copy DID" icon="lucide--copy" />