Skip to content

Commit 2335fa7

Browse files
author
Kris Kratz
committed
Fix scroll bar visibility in My Documents.
1 parent 37d3bf6 commit 2335fa7

File tree

2 files changed

+2
-4260
lines changed

2 files changed

+2
-4260
lines changed

frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ function Directory({
230230
</div>
231231

232232
<div className="relative w-[560px] h-[310px] bg-theme-settings-input-bg rounded-2xl overflow-hidden border border-theme-modal-border">
233-
<div className="absolute top-0 left-0 right-0 z-10 rounded-t-2xl text-theme-text-primary text-xs grid grid-cols-12 py-2 px-8 border-b border-white/20 light:border-theme-modal-border bg-theme-settings-input-bg">
233+
<div className="sticky top-0 left-0 right-0 z-10 rounded-t-2xl text-theme-text-primary text-xs grid grid-cols-12 py-2 px-8 border-b border-white/20 light:border-theme-modal-border bg-theme-settings-input-bg">
234234
<p className="col-span-6">Name</p>
235235
</div>
236236

237-
<div className="overflow-y-auto h-full pt-8">
237+
<div className="overflow-y-auto h-full">
238238
{loading ? (
239239
<div className="w-full h-full flex items-center justify-center flex-col gap-y-5">
240240
<PreLoader />

0 commit comments

Comments
 (0)