mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-17 02:25:57 +00:00
fix: prevent layout shifts on clicking collapsible (#165)
* fix: newtab layout shift on collapsible * fix: collapsible width on smaller screen sizes
This commit is contained in:
@@ -200,7 +200,7 @@ export const NewTab = () => {
|
||||
return (
|
||||
<div className="pt-[max(25vh,16px)]">
|
||||
{/* Main content */}
|
||||
<div className={'relative w-full max-w-3xl space-y-8'}>
|
||||
<div className={'relative w-full space-y-8 md:w-3xl'}>
|
||||
{/* Logo and branding */}
|
||||
<NewTabBranding />
|
||||
{/* Search bar with context */}
|
||||
|
||||
@@ -97,7 +97,7 @@ export const ScheduleResults: FC = () => {
|
||||
<Collapsible
|
||||
open={isOpen}
|
||||
onOpenChange={setIsOpen}
|
||||
className="mb-16 space-y-3"
|
||||
className="mb-16 w-xl space-y-3 md:w-3xl"
|
||||
>
|
||||
<CollapsibleTrigger asChild>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user