diff --git a/src/components/Canary/CanaryTabs.tsx b/src/components/Canary/CanaryTabs.tsx
index e85cb9a4a..9a95007a9 100644
--- a/src/components/Canary/CanaryTabs.tsx
+++ b/src/components/Canary/CanaryTabs.tsx
@@ -164,13 +164,15 @@ export function CanaryTabs({
return (
setSelectedTab(tab)}>
- {Object.values(tabs).map((item) => {
- return (
-
- {children}
-
- );
- })}
+ {Object.values(tabs)
+ .sort((v1, v2) => v1.label.localeCompare(v2.label))
+ .map((item) => {
+ return (
+
+ {children}
+
+ );
+ })}
);
}
diff --git a/src/components/Tabs/Tabs.tsx b/src/components/Tabs/Tabs.tsx
index e21cfc9b3..c8ef3657d 100644
--- a/src/components/Tabs/Tabs.tsx
+++ b/src/components/Tabs/Tabs.tsx
@@ -96,6 +96,8 @@ export function Tabs({
onClick={tab.props?.onClick!}
/>
))}
+ {/* Add a phantom div to fill border */}
+
{content}
>