bootstrap: Remove bootstrap CSS for <table> element.

This commit adds the required bootstrap CSS for "<table>"
element in the specific files and removes them from
bootstrap.css.
This commit is contained in:
Sahil Batra 2023-07-24 20:29:11 +05:30 committed by Tim Abbott
parent 9240d780a4
commit fcaaa6566e
7 changed files with 9 additions and 6 deletions

View File

@ -697,6 +697,7 @@ div.overlay {
.table-striped {
table-layout: auto;
border-collapse: separate;
border-spacing: 0;
&:not(.table-bordered) thead th {
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
@ -760,6 +761,7 @@ div.overlay {
border-collapse: separate;
border-left: 0;
border-radius: 4px;
border-spacing: 0;
& th,
td {

View File

@ -574,6 +574,7 @@ ul {
width: 100%;
margin: auto;
border-radius: 6px;
border-collapse: collapse;
& tr {
border-bottom: 1px solid hsl(0deg 0% 87%);

View File

@ -30,6 +30,7 @@ td.number {
border-collapse: separate;
border-left: 0;
border-radius: 4px;
border-spacing: 0;
& th,
td {

View File

@ -566,6 +566,8 @@ input.text-error {
background-color: hsl(0deg 0% 100%);
box-shadow: 0 0 4px hsl(0deg 0% 0% / 10%);
border-collapse: collapse;
tbody > tr:nth-child(odd) > td {
background-color: hsl(0deg 0% 98%);
}
@ -1250,6 +1252,7 @@ label.label-title {
.table-bordered {
border: 1px solid hsl(0deg 0% 87%);
border-collapse: separate;
border-spacing: 0;
border-left: 0;
border-radius: 4px;

View File

@ -92,6 +92,7 @@
user is at the bottom of scroll container when the compose box is open.
*/
margin-bottom: var(--max-unexpanded-compose-height);
border-spacing: 0;
}
#recent_topics_filter_buttons {

View File

@ -125,6 +125,7 @@
max-width: fit-content;
overflow-x: auto;
white-space: nowrap;
border-collapse: collapse;
}
& thead {

View File

@ -215,12 +215,6 @@ pre {
-moz-border-radius: 4px;
border-radius: 4px;
}
table {
max-width: 100%;
background-color: transparent;
border-collapse: collapse;
border-spacing: 0;
}
.table {
width: 100%;
margin-bottom: 20px;