Bugfix/event types buggy view on tablet (#1238)

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2021-12-01 14:56:25 +00:00
1 parent 80a2b6c068
commit ec2d0a89ba
3 files changed
+49 -4

No files matched your search

+46 -2
View File
@@ -196,8 +196,8 @@ export default function Shell(props: {
</div>
<div className="flex h-screen overflow-hidden bg-gray-100">
<div className="hidden md:flex md:flex-shrink-0">
<div className="flex flex-col w-56">
<div className="hidden lg:flex lg:flex-shrink-0">
<div className="flex flex-col w-14 lg:w-56">
<div className="flex flex-col flex-1 h-0 bg-white border-r border-gray-200">
<div className="flex flex-col flex-1 pt-5 pb-4 overflow-y-auto">
<Link href="/event-types">
@@ -236,6 +236,50 @@ export default function Shell(props: {
</div>
</div>
</div>
<div className="hidden md:flex md:flex-shrink-0 lg:hidden">
<div className="flex flex-col w-14 lg:w-56">
<div className="flex flex-col flex-1 h-0 bg-white border-r border-gray-200">
<div className="flex flex-col flex-1 pt-5 pb-4 overflow-y-auto">
<Link href="/event-types">
<a className="px-2">
{/* <Logo small /> */}
<h1 className="inline p-2">
<strong>
<img className="w-auto h-10" alt="Cal" title="Cal" src="/cal-com-icon.svg" />
</strong>
</h1>
</a>
</Link>
<nav className="flex-1 px-2 space-y-1 bg-white">
{navigation.map((item) => (
<Link key={item.name} href={item.href}>
<a
className={classNames(
item.current
? "bg-neutral-100 text-neutral-900"
: "text-neutral-500 hover:bg-gray-50 hover:text-neutral-900",
"group flex items-center px-2 py-2 text-sm font-medium rounded-sm"
)}>
<item.icon
className={classNames(
item.current
? "text-neutral-500"
: "text-neutral-400 group-hover:text-neutral-500",
"mr-3 flex-shrink-0 h-5 w-5"
)}
aria-hidden="true"
/>
</a>
</Link>
))}
</nav>
</div>
<div className="p-2 pt-2 pr-2 m-2 rounded-sm hover:bg-gray-100">
<UserDropdown small />
</div>
</div>
</div>
</div>
<div className="flex flex-col flex-1 w-0 overflow-hidden">
<main className="flex-1 relative z-0 overflow-y-auto focus:outline-none max-w-[1700px]">