[gimp-web-devel/pat/bootstrap] assets: fix adding border to everything in a table.



commit ce574089b42a7cc483564e66f74afe642e45b3df
Author: Jehan <jehan girinstud io>
Date:   Tue Sep 6 14:41:01 2022 +0200

    assets: fix adding border to everything in a table.
    
    s/table */table tr, td, th/ otherwise we were styling any sub-element in
    a table with a border, at any level. For instance any bold, italic,
    links (basically any html tag) was represented as a box in a box, i.e.
    with border within its own bordered table case).

 assets/sass/main.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/assets/sass/main.scss b/assets/sass/main.scss
index b9fde8e..0788800 100644
--- a/assets/sass/main.scss
+++ b/assets/sass/main.scss
@@ -101,7 +101,7 @@ table {
   border-collapse: collapse;
 }
 
-table * {
+table tr, td, th {
   padding: 0.5rem;
   border: solid 1px gray;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]