[devdocsgjs/main: 195/239] tailwindcss: fix huge icon on root page
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 195/239] tailwindcss: fix huge icon on root page
- Date: Fri, 8 Apr 2022 07:47:42 +0000 (UTC)
commit 39065e9aae3f4c17b694f2093043c43d733f9c0f
Author: Simon Legner <Simon Legner gmail com>
Date: Mon Feb 21 23:25:10 2022 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]