diff --git a/COMETwebapp/Components/Tabs/TabComponent.razor.css b/COMETwebapp/Components/Tabs/TabComponent.razor.css index c5b2b6aa..ac2247f8 100644 --- a/COMETwebapp/Components/Tabs/TabComponent.razor.css +++ b/COMETwebapp/Components/Tabs/TabComponent.razor.css @@ -1,5 +1,4 @@ .tab-component { - max-width: fit-content; border-radius: 7.5px; padding: 2px 10px 2px 10px; display: flex; @@ -8,6 +7,7 @@ background-color: var(--colors-white); color: var(--colors-primary-800); font-weight: 500; + width: max-content; } .current-tab { diff --git a/COMETwebapp/Components/Tabs/TabsPanelComponent.razor b/COMETwebapp/Components/Tabs/TabsPanelComponent.razor index f791ba6a..c80771de 100644 --- a/COMETwebapp/Components/Tabs/TabsPanelComponent.razor +++ b/COMETwebapp/Components/Tabs/TabsPanelComponent.razor @@ -27,7 +27,7 @@
@if (this.Panel.CurrentTab is not null) { -
+