Moving list styles complete to use @apply

This commit is contained in:
Jeff Avallone
2018-02-15 09:08:50 -05:00
parent 672ded87af
commit 895827e881
7 changed files with 10 additions and 31 deletions
@@ -2,9 +2,7 @@
exports[`Footer rendering 1`] = `
<footer>
<ul
className="inline with-separator"
>
<ul>
<li>
<Trans>
Created by
+1 -1
View File
@@ -5,7 +5,7 @@ import './style.css';
const Footer = () => (
<footer>
<ul className="inline with-separator">
<ul>
<li>
<Trans>Created by <a href="mailto:jeff.avallone@gmail.com">Jeff Avallone</a></Trans>
</li>
+5
View File
@@ -3,6 +3,11 @@
footer {
margin: var(--spacing-margin) 0;
& ul {
@apply --inline-list;
@apply --with-separator;
}
& img {
vertical-align: text-top;
width: 80px;
@@ -12,9 +12,7 @@ exports[`Header rendering 1`] = `
Regexper
</a>
</h1>
<ul
className="inline"
>
<ul>
<li>
<a
href="https://github.com/javallone/regexper-static"
+1 -1
View File
@@ -10,7 +10,7 @@ const Header = () => (
<a href="/">Regexper</a>
</h1>
<ul className="inline">
<ul>
<li><a href="https://github.com/javallone/regexper-static">
<GithubIcon/><Trans>Source on GitHub</Trans>
</a></li>
+1
View File
@@ -38,6 +38,7 @@
}
& ul {
@apply --inline-list;
line-height: var(--header-height);
position: absolute;
top: 0;