diff --git a/client/app/(posts)/components/file-dropdown/dropdown.module.css b/client/app/(posts)/components/file-dropdown/dropdown.module.css index 99c2ee01..898bab2a 100644 --- a/client/app/(posts)/components/file-dropdown/dropdown.module.css +++ b/client/app/(posts)/components/file-dropdown/dropdown.module.css @@ -36,12 +36,15 @@ background-color: var(--lighter-gray); } -.content li a { +.content .listItem { display: flex; align-items: center; - text-align: center; - padding: var(--gap-half) var(--gap); + justify-content: space-between; color: var(--dark-gray); + text-decoration: none; + /* vertical alignment */ + padding: var(--gap-quarter) 0; + } .button { diff --git a/client/app/(posts)/components/file-dropdown/index.tsx b/client/app/(posts)/components/file-dropdown/index.tsx index 51ecb3a3..bb8cb0a1 100644 --- a/client/app/(posts)/components/file-dropdown/index.tsx +++ b/client/app/(posts)/components/file-dropdown/index.tsx @@ -1,6 +1,4 @@ -import Button from "@components/button" import { Popover } from "@components/popover" -import ShiftBy from "@components/shift-by" import { codeFileExtensions } from "@lib/constants" import clsx from "clsx" import type { File } from "lib/server/prisma" @@ -32,10 +30,8 @@ const FileDropdown = ({ files }: { files: File[] }) => {