Skip to content

Commit

Permalink
fix(Badge): Fixed badge's line-height and size
Browse files Browse the repository at this point in the history
  • Loading branch information
brennerp committed May 24, 2019
1 parent f3053dc commit 9d7718f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/_components/Badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you wish to use a badge only as a colored circle with no text, you can use th
<tbody>
<tr>
<td>
<span class="bp-badge bp-fs-7">2</span>
<span class="bp-badge bp-fs-7">New</span>
</td>
<td>
.bp-badge .bp-fs-7
Expand Down
4 changes: 2 additions & 2 deletions docs/website/badge-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<tbody>
<tr>
<td>
<span class="bp-badge bp-fs-7">2</span>
<span class="bp-badge bp-fs-7">New</span>
</td>
<td>
.bp-badge .bp-fs-7
Expand Down Expand Up @@ -103,7 +103,7 @@
<tbody>
<tr>
<td>
<span class="bp-badge bp-fs-7">2</span>
<span class="bp-badge bp-fs-7">New</span>
</td>
<td>
.bp-badge .bp-fs-7
Expand Down
2 changes: 1 addition & 1 deletion docs/website/dist/blip-toolkit.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,7 @@ <h5 class="i-example__heading">
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;bp-badge bp-fs-7&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;bp-badge bp-fs-7&quot;&gt;New&lt;/span&gt;
&lt;/td&gt;
&lt;td&gt;
.bp-badge .bp-fs-7
Expand Down Expand Up @@ -2620,7 +2620,7 @@ <h5 class="i-example__heading">
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;bp-badge bp-fs-7&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;bp-badge bp-fs-7&quot;&gt;New&lt;/span&gt;
&lt;/td&gt;
&lt;td&gt;
.bp-badge .bp-fs-7
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
border-radius: 1em;
padding: 0 0.5em;

min-width: 1.6em;
min-height: 1.6em;
line-height: 1.6em;
min-width: 1.7em;
min-height: 1.7em;
line-height: 1.7em;

&:not([class*="bp-bg-"]) {
background-color: $bp-color-blip-light;
Expand Down

0 comments on commit 9d7718f

Please sign in to comment.