Fixed insets (#2723)

This commit is contained in:
Erik Jan de Wit 2022-06-01 11:12:47 +02:00 committed by GitHub
parent 219b60ff77
commit 49b0170952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -56,9 +56,8 @@ export const RoutableTabs = ({
component={TabsComponent.nav} component={TabsComponent.nav}
inset={{ inset={{
default: "insetNone", default: "insetNone",
md: "insetSm", xl: "insetLg",
xl: "inset2xl", "2xl": "inset2xl",
"2xl": "insetLg",
}} }}
{...otherProps} {...otherProps}
> >

View file

@ -156,8 +156,8 @@ export default function GroupsSection() {
inset={{ inset={{
default: "insetNone", default: "insetNone",
md: "insetSm", md: "insetSm",
xl: "inset2xl", xl: "insetLg",
"2xl": "insetLg", "2xl": "inset2xl",
}} }}
activeKey={activeTab} activeKey={activeTab}
onSelect={(_, key) => setActiveTab(key as number)} onSelect={(_, key) => setActiveTab(key as number)}