Skip to content

Commit

Permalink
CIWEMB-376: Update default table styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ahed-compucorp committed Jul 26, 2023
1 parent 3269d3b commit 9e70501
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scss/civicrm/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
$crm-standard-gap: 20px;
$crm-table-form-cell-padding: 4px;
$crm-table-cell-line-height: 18px;
$crm-table-cell-padding: 16px 10px;
$crm-table-first-cell-padding-left: 20px;

$crm-contact-info-block-min-height: 60px;
$crm-contact-info-block-padding-top: 20px;
Expand Down
12 changes: 11 additions & 1 deletion scss/civicrm/common/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,17 @@ table {
tr td {
border: initial;
border-bottom: solid 1px $table-border-color;
line-height: 35px;
line-height: $crm-table-cell-line-height;
}

tr > th:first-child,
tr > td:first-child {
padding-left: $crm-table-first-cell-padding-left;
}

tr > td,
tr > th {
padding: $crm-table-cell-padding;
}

tr:last-child {
Expand Down

0 comments on commit 9e70501

Please sign in to comment.