Animate sidebar transition

This commit is contained in:
Gregory Schier
2023-03-25 21:31:52 -07:00
parent ae4a43f406
commit e3ef29bdfd
5 changed files with 80 additions and 14 deletions

View File

@@ -64,9 +64,9 @@ export function Tabs<T>({
>
<div
aria-label={label}
className={classnames(tabListClassName, 'h-auto flex items-center overflow-auto pb-0.5')}
className={classnames(tabListClassName, 'h-md flex items-center overflow-x-auto pb-0.5')}
>
<HStack space={1}>
<HStack space={1} className="flex-shrink-0">
{tabs.map((t) => {
const isActive = t.value === value;
const btnClassName = classnames(