Skip to content

Commit

Permalink
Tabs | Negative margin to left align tab items
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreBroudin committed Jun 24, 2015
1 parent 580425f commit 61d2f0c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions dist/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/scss/components/tabs/_base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Tabs {
margin: 0;
margin: 0 0 0 (-$mg--s);
padding: 0;
font-size: 0;
text-align: left;
Expand Down
3 changes: 1 addition & 2 deletions src/scss/components/tabs/_link.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.Tab-link {
display: block;
position: relative;
margin: 0 $mg--s;
padding: $base-pd 0;
padding: $base-pd $pd--s;
font-size: $base-fz;
font-weight: $fw--semi-bold;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion src/scss/components/tabs/_size.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.Tabs--s {
.Tab-link {
padding: $pd--xs 0;
padding: $pd--xs $pd--s;
font-size: $fz--s;
}

Expand Down

0 comments on commit 61d2f0c

Please sign in to comment.