Skip to content

Commit

Permalink
fix(css): improve look of tables in panel
Browse files Browse the repository at this point in the history
- make table heading (reverts part of WeblateOrg#12982)
- use consistent border inside the tables
- avoid double border in headings
  • Loading branch information
nijel committed Jan 6, 2025
1 parent 5596364 commit ff65f1c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions weblate/static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ thead th {
}

.table > thead > tr > th {
border-bottom: 1px solid #bfc3c7;
border-bottom: none;
}

.table-listing,
Expand Down Expand Up @@ -2305,7 +2305,6 @@ tbody.warning {
}

.panel-default > .panel-heading {
background-color: #e9eaec60;
border: var(--border);
}
.panel-danger > .panel-heading {
Expand All @@ -2323,6 +2322,15 @@ tbody.warning {
border-top: var(--border);
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
border-top: var(--border);
}

/* Zammad form integration */
.zammad-form-modal-body {
max-width: 40em !important;
Expand Down

0 comments on commit ff65f1c

Please sign in to comment.