fix overscrolling issue with popup

This commit is contained in:
SethBurkart123
2023-10-20 06:58:20 +11:00
parent 1edcf442e6
commit 7525a9041e
4 changed files with 34 additions and 29 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ const App: React.FC = () => {
];
return (
<div className={`flex flex-col w-[384px] shadow-2xl gap-2 bg-white ${ standalone ? '' : 'rounded-xl' } h-[610px] dark:bg-zinc-800 dark:text-white`}>
<div className={`flex flex-col w-[384px] shadow-2xl gap-2 bg-white ${ standalone ? '' : 'rounded-xl' } h-[600px] overflow-clip dark:bg-zinc-800 dark:text-white`}>
<div className="grid border-b border-b-zinc-200/40 place-items-center">
<img src={logo} className="w-4/5 dark:hidden" />
<img src={logoDark} className="hidden w-4/5 dark:block" />
+1 -1
View File
@@ -79,7 +79,7 @@ const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => {
activeTab === index && (
<motion.div
key={index}
className="absolute w-full pb-6"
className="absolute w-full pb-4"
initial="hidden"
animate="visible"
exit="hidden"
+4
View File
@@ -10,4 +10,8 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar {
display: none;
}