Remove second scrollbar when sidebar is expanded + tooltip z index

This commit is contained in:
yuneng-jiang
2025-12-03 12:14:48 -08:00
parent 5e791464af
commit 9783f0ff6c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ export default function CreateKeyPage() {
sidebarCollapsed={sidebarCollapsed}
onToggleSidebar={toggleSidebar}
/>
<div className="flex flex-1 overflow-auto">
<div className="flex flex-1">
<div className="mt-2">
<SidebarProvider setPage={updatePage} defaultSelectedKey={page} sidebarCollapsed={sidebarCollapsed} />
</div>
@@ -100,7 +100,7 @@ export function ModelDataTable<TData, TValue>({
key={header.id}
className={`py-1 h-8 relative ${
header.id === "actions"
? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] z-20 w-[120px] ml-8"
? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] w-[120px] ml-8"
: ""
} ${header.column.columnDef.meta?.className || ""}`}
style={{
@@ -160,7 +160,7 @@ export function ModelDataTable<TData, TValue>({
key={cell.id}
className={`py-0.5 ${
cell.column.id === "actions"
? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] z-20 w-[120px] ml-8"
? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] w-[120px] ml-8"
: ""
} ${cell.column.columnDef.meta?.className || ""}`}
style={{