Skip to content

Commit

Permalink
Use tablular numbers for tables
Browse files Browse the repository at this point in the history
- Set table cells to use tabular numbers
- Ensure spacing is 15px above and below table content
- Set px to em function to use 16px as a base to generate em values,
(as we’re using the core-16 mixin), otherwise this defaults to 19px.
  • Loading branch information
Gemma Leigh committed Nov 25, 2014
1 parent 888e217 commit 9f2b2ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/sass/elements/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ table {

table th,
table td {
@include core-16;
padding: em(14) em(20) em(10) 0;
@include core-16($tabular-numbers: true);
padding: em(12, 16) em(20, 16) em(9, 16) 0;

text-align: left;
color: #0b0c0c;
Expand Down

0 comments on commit 9f2b2ce

Please sign in to comment.