Skip to content

Commit

Permalink
display fixes to tables (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcunha-usds committed Sep 25, 2018
1 parent 97f3619 commit 9f1782c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/components/_table-of-contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@

.sba-c-table-of-contents__list {
font-size: 1.5rem;
list-style: disc;
margin-bottom: 0;
}
26 changes: 26 additions & 0 deletions app/assets/stylesheets/components/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
border-top: 0;
display: block;
padding: 1.5rem;
vertical-align: top;
}

tbody th,
Expand Down Expand Up @@ -148,6 +149,16 @@
}
}

tfoot {

th,
td {
border-bottom: 0;
border-left: 0;
border-right: 0;
}
}

tbody {
td:last-child {
margin-bottom: 0;
Expand Down Expand Up @@ -206,9 +217,24 @@
position: static;

.sba-c-task-panel {
margin-top: -7px;
margin-bottom: -7px;
position: relative;
top: auto;
right: auto;
}
}

.sba-c-table--editable thead tr th:last-child {
width: 5.5rem;
}

.sba-c-table--editable thead tr th:last-child,
.sba-c-table--editable tbody tr td:last-child {
text-align: center;
}

.sba-c-table--editable tbody tr td:first-child {
text-align: left;
}
}
2 changes: 1 addition & 1 deletion lib/certify_design_system/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ module CertifyDesignSystem
# MAJOR version when you make incompatible API changes,
# MINOR version when you add functionality in a backwards-compatible manner, and
# PATCH version when you make backwards-compatible bug fixes.
VERSION = '1.16.2'
VERSION = '1.16.3'
end

0 comments on commit 9f1782c

Please sign in to comment.