Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pages/documents/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ export default function Documents() {
return (
<AppLayout>
<div className="sticky top-0 z-50 bg-white p-4 pb-0 dark:bg-gray-900 sm:mx-4 sm:pt-8">
<section className="mb-4 flex items-center justify-between md:mb-8 lg:mb-12">
<div className="space-y-1">
<section className="mb-4 flex items-center justify-between space-x-2 sm:space-x-0 md:mb-8 lg:mb-12">
<div className="space-y-0 sm:space-y-1">
<h2 className="text-xl font-semibold tracking-tight text-foreground sm:text-2xl">
All Documents
</h2>
<p className="text-xs text-muted-foreground sm:text-sm">
<p className="text-xs text-muted-foreground leading-4 sm:leading-none sm:text-sm">
Manage all your documents in one place.
</p>
</div>
<div className="flex items-center gap-x-1">
<AddDocumentModal>
<Button
className="group flex flex-1 items-center justify-start gap-x-3 px-3 text-left"
className="group flex flex-1 items-center justify-start whitespace-nowrap gap-x-1 sm:gap-x-3 px-1 sm:px-3 text-left"
title="Add New Document"
>
<PlusIcon className="h-5 w-5 shrink-0" aria-hidden="true" />
<span>Add New Document</span>
<span className=" text-xs sm:text-base">Add New Document</span>
</Button>
</AddDocumentModal>
<AddFolderModal>
Expand Down