Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/base/examples/text-semantics.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
The <small>small element</small> example <br />
The <span>span element</span> example <br />
The <strong>strong element</strong> example <br />
The <sub>sub element</sub> example <br />
The <sup>sup element</sup> example <br />
The <sub>sub element</sub> example <br />
The <var>var element</var> example <br />
The <u>u element</u> example
</p>
6 changes: 2 additions & 4 deletions src/components/user-counts/_user-counts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
width: 70px; // magic number that works in the sidebar

.num {
color: inherit;
display: block;
font-size: 1.125rem;
font-weight: var(--number-font-weight-bold);
text-decoration-color: inherit;
}

.label {
Expand All @@ -35,10 +37,6 @@
}
}

.views {
width: 95px; // magic number to give views more space than other cells
}

.saves {
color: var(--color-status-warning);
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/user-counts/examples/user-counts-narrow.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<div name="username" class="user-counts">
<ul>
<li class="views">
<span class="num">7,438,959</span>
<span class="num">7.4M</span>
<span class="label-text">Views</span>
</li>
<li class="saves">
<span class="num">22,511</span>
<span class="num">22.5K</span>
<span class="label-text">Saves</span>
</li>
<li class="likes">
<span class="num">140,205</span>
<a class="num" href="#">140.2K</a>
<span class="label-text">Likes</span>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/components/user-counts/examples/user-counts.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div name="username" class="user-counts">
<ul>
<li class="views">
<span class="num">24,853</span>
<span class="num">24.8K</span>
<span class="label-text">Views</span>
</li>
<li class="saves">
<span class="num">38</span>
<span class="label-text">Saves</span>
</li>
<li class="likes">
<span class="num">374</span>
<a class="num" href="#">374</a>
<span class="label-text">Likes</span>
</li>
</ul>
Expand Down