1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-31 21:11:44 +02:00

Fix CSS issues on AI tutor

This commit is contained in:
Kamran Ahmed
2025-05-04 13:04:59 +01:00
parent bc32dc780b
commit 871d43c295

View File

@@ -15,7 +15,7 @@ export function AITutorLayout(props: AITutorLayoutProps) {
return ( return (
<> <>
<div className="flex flex-row items-center justify-between border-b border-slate-200 px-4 py-3 lg:hidden"> <div className="flex flex-row items-center justify-between border-b border-slate-200 px-4 py-3 lg:hidden sticky top-0 bg-white z-10">
<a href="/" className="flex flex-row items-center gap-1.5"> <a href="/" className="flex flex-row items-center gap-1.5">
<RoadmapLogoIcon className="size-6 text-gray-500" color="black" /> <RoadmapLogoIcon className="size-6 text-gray-500" color="black" />
</a> </a>
@@ -27,7 +27,7 @@ export function AITutorLayout(props: AITutorLayoutProps) {
</button> </button>
</div> </div>
<div className="flex flex-grow flex-row"> <div className="flex flex-grow lg:h-screen flex-row">
<AITutorSidebar <AITutorSidebar
onClose={() => setIsSidebarFloating(false)} onClose={() => setIsSidebarFloating(false)}
isFloating={isSidebarFloating} isFloating={isSidebarFloating}