From 4c69d0495d9ac4e66888000a92aee0526ee12078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Pierry=20de=20Souza=20Mendon=C3=A7a?= Date: Tue, 17 Sep 2024 17:24:00 -0300 Subject: [PATCH 1/3] REMOVE [&:not(:first-child)]:mt-6 FROM TypographyP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean Pierry de Souza Mendonça --- lib/rbui/typography/typography_p.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbui/typography/typography_p.rb b/lib/rbui/typography/typography_p.rb index 5fbe063..72e56c5 100644 --- a/lib/rbui/typography/typography_p.rb +++ b/lib/rbui/typography/typography_p.rb @@ -10,7 +10,7 @@ def view_template(&) def default_attrs { - class: "leading-7 [&:not(:first-child)]:mt-6" + class: "leading-7" } end end From b543b7b68f9e12fdabc70971be2926100cc25490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Pierry=20de=20Souza=20Mendon=C3=A7a?= Date: Tue, 17 Sep 2024 17:26:24 -0300 Subject: [PATCH 2/3] Update typography_p.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean Pierry de Souza Mendonça --- lib/rbui/typography/typography_p.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/rbui/typography/typography_p.rb b/lib/rbui/typography/typography_p.rb index 72e56c5..61d9cd3 100644 --- a/lib/rbui/typography/typography_p.rb +++ b/lib/rbui/typography/typography_p.rb @@ -9,9 +9,7 @@ def view_template(&) private def default_attrs - { - class: "leading-7" - } + {} end end end From 9a45e5b3d7be74e03d45c921a0ec9030323a2275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Pierry=20de=20Souza=20Mendon=C3=A7a?= Date: Tue, 17 Sep 2024 17:26:59 -0300 Subject: [PATCH 3/3] Update typography_p.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean Pierry de Souza Mendonça --- lib/rbui/typography/typography_p.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/rbui/typography/typography_p.rb b/lib/rbui/typography/typography_p.rb index 61d9cd3..3aa1d84 100644 --- a/lib/rbui/typography/typography_p.rb +++ b/lib/rbui/typography/typography_p.rb @@ -5,11 +5,5 @@ class TypographyP < Base def view_template(&) p(**attrs, &) end - - private - - def default_attrs - {} - end end end