From 39065e9aae3f4c17b694f2093043c43d733f9c0f Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 21 Feb 2022 23:25:10 +0100 Subject: [PATCH] tailwindcss: fix huge icon on root page --- lib/docs/filters/tailwindcss/clean_html.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/docs/filters/tailwindcss/clean_html.rb b/lib/docs/filters/tailwindcss/clean_html.rb index 4f35c423..9815cf09 100644 --- a/lib/docs/filters/tailwindcss/clean_html.rb +++ b/lib/docs/filters/tailwindcss/clean_html.rb @@ -9,6 +9,8 @@ module Docs # Remove the left-navigation we scraped css('nav').remove + css('svg').remove if root_page? + # Remove the duplicate category name at the top of the page - redundant at_css('header#header > div:first-child > p:first-child').remove