From ba4ccb00a91c66685ebdc5742cd8db42f02ed623 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 24 Jul 2023 14:57:56 +0530 Subject: [PATCH] bootstrap: Remove CSS for "tfoot" elements. We use "tfoot" element only in realm_domains_modal.hbs template and this table does not have table-bordered class. The bootstrap CSS rules for "tfoot" elements are only for the "tfoot" elements inside a table with "table-bordereds" class so we can safely remove the bootstrap CSS. --- web/third/bootstrap/css/bootstrap.css | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css index f0598d34ef..49bdae6510 100644 --- a/web/third/bootstrap/css/bootstrap.css +++ b/web/third/bootstrap/css/bootstrap.css @@ -286,32 +286,18 @@ table { } .table-bordered thead:last-child tr:last-child > th:first-child, .table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { +.table-bordered tbody:last-child tr:last-child > th:first-child { -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; border-bottom-left-radius: 4px; } .table-bordered thead:last-child tr:last-child > th:last-child, .table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { +.table-bordered tbody:last-child tr:last-child > th:last-child { -webkit-border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; border-bottom-right-radius: 4px; } -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} .table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th { background-color: #f9f9f9;