diff --git a/packages/framework/tests/Feature/Views/SidebarTableOfContentsViewTest.php b/packages/framework/tests/Feature/Views/SidebarTableOfContentsViewTest.php index aaa6568dea7..5f1e09c5833 100644 --- a/packages/framework/tests/Feature/Views/SidebarTableOfContentsViewTest.php +++ b/packages/framework/tests/Feature/Views/SidebarTableOfContentsViewTest.php @@ -376,10 +376,11 @@ protected function render(string $markdown): string protected function stripTailwindClasses(string $html): string { $replacements = [ - ' py-3 space-y-1.5' => '', - ' class="block pl-8 -ml-8 opacity-80 hover:opacity-100 hover:bg-gray-200/20 transition-all duration-300 relative"' => '', + ' pb-3' => '', + ' class="-ml-8 pl-8 opacity-80 hover:opacity-100 hover:bg-gray-200/20 transition-all duration-300"' => '', 'class="text-[75%] opacity-50 mr-1 hover:opacity-100 transition-opacity duration-300"' => '', - ' class="space-y-1.5"' => '', + ' class="my-0.5"' => '', + ' class="pl-2"' => '', ]; return str_replace(array_keys($replacements), array_values($replacements), $html);