Skip to content

Scheduling infrastructure for absolutely everyone.

fixed subpage pills (#4204)

Peer Richelsen143279699ade
diff --git a/apps/web/components/v2/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/v2/eventtype/EventTypeSingleLayout.tsx
index ee1d1e069e7..ecbc770180c 100644
--- a/apps/web/components/v2/eventtype/EventTypeSingleLayout.tsx
+++ b/apps/web/components/v2/eventtype/EventTypeSingleLayout.tsx
@@ -255,7 +255,7 @@ function EventTypeSingleLayout({
<div className="hidden xl:block">
<VerticalTabs tabs={EventTypeTabs} sticky />
</div>
- <div className="relative left-0 right-0 -mx-6 w-[calc(100%+40px)] p-2 md:mx-0 md:p-0 xl:hidden">
+ <div className="p-2 md:mx-0 md:p-0 xl:hidden">
<HorizontalTabs tabs={EventTypeTabs} />
</div>
<div className="w-full ltr:mr-2 rtl:ml-2">
diff --git a/packages/ui/v2/core/apps/Categories.tsx b/packages/ui/v2/core/apps/Categories.tsx
index fd3f5c4637f..b4723ce3964 100644
--- a/packages/ui/v2/core/apps/Categories.tsx
+++ b/packages/ui/v2/core/apps/Categories.tsx
@@ -17,7 +17,7 @@ export default function AppStoreCategories({
return (
<div className="mb-16">
<Slider
- className="mb-16"
+ className="mt-8 mb-16"
title={t("featured_categories")}
items={categories}
itemKey={(category) => category.name}
diff --git a/packages/ui/v2/core/navigation/tabs/HorizontalTabs.tsx b/packages/ui/v2/core/navigation/tabs/HorizontalTabs.tsx
index cead5320e62..cf56290ea03 100644
--- a/packages/ui/v2/core/navigation/tabs/HorizontalTabs.tsx
+++ b/packages/ui/v2/core/navigation/tabs/HorizontalTabs.tsx
@@ -10,16 +10,16 @@ export interface NavTabProps {
const HorizontalTabs: FC<NavTabProps> = ({ tabs, ...props }) => {
return (
- <>
+ <div className="-mx-6 mb-2 w-[calc(100%+40px)]">
<nav
- className="no-scrollbar flex space-x-1 overflow-scroll px-6 md:overflow-visible md:px-0"
+ className="no-scrollbar flex space-x-1 overflow-scroll px-6 md:overflow-visible"
aria-label="Tabs"
{...props}>
{tabs.map((tab, idx) => (
<HorizontalTabItem {...tab} key={idx} />
))}
</nav>
- </>
+ </div>
);
};