Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Sidebar mobile styling
Richie McIlroy1aa2f332cefd
diff --git a/apps/web/app/s/[videoId]/Share.tsx b/apps/web/app/s/[videoId]/Share.tsxindex 7c3ae9b2c..5f03177c0 100644--- a/apps/web/app/s/[videoId]/Share.tsx+++ b/apps/web/app/s/[videoId]/Share.tsx@@ -98,7 +98,7 @@ export const Share: React.FC<ShareProps> = ({<div className="mt-4"><div className="flex flex-col lg:flex-row gap-4"><div className="flex-1">- <div className="relative aspect-video new-card-style p-3">+ <div className="relative aspect-video new-card-style p-3 overflow-hidden"><ShareVideodata={data}user={user}diff --git a/apps/web/app/s/[videoId]/_components/Sidebar.tsx b/apps/web/app/s/[videoId]/_components/Sidebar.tsxindex 26317c6c6..58b267d81 100644--- a/apps/web/app/s/[videoId]/_components/Sidebar.tsx+++ b/apps/web/app/s/[videoId]/_components/Sidebar.tsx@@ -112,7 +112,7 @@ export const Sidebar: React.FC<SidebarProps> = ({};return (- <div className="new-card-style overflow-hidden h-full flex flex-col lg:aspect-video">+ <div className="new-card-style overflow-hidden h-[calc(100vh-16rem)] lg:h-full flex flex-col lg:aspect-video"><div className="flex-none"><div className="flex border-b border-gray-200">{tabs.map((tab) => (@@ -151,21 +151,23 @@ export const Sidebar: React.FC<SidebarProps> = ({))}</div></div>- <div className="flex-1 min-h-0 relative">- <AnimatePresence initial={false} custom={direction}>- <TabContent- key={activeTab}- custom={direction}- variants={tabVariants}- initial="enter"- animate="center"- exit="exit"- transition={tabTransition}- className="absolute inset-0"- >- {renderTabContent()}- </TabContent>- </AnimatePresence>+ <div className="flex-1 min-h-0">+ <div className="h-full relative overflow-hidden">+ <AnimatePresence initial={false} custom={direction}>+ <TabContent+ key={activeTab}+ custom={direction}+ variants={tabVariants}+ initial="enter"+ animate="center"+ exit="exit"+ transition={tabTransition}+ className="absolute inset-0 overflow-auto"+ >+ <div className="h-full">{renderTabContent()}</div>+ </TabContent>+ </AnimatePresence>+ </div></div></div>);