Skip to content

Commit

Permalink
feat: introduce class for reset list (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Apr 14, 2022
1 parent 8ed53a8 commit 42e716b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
24 changes: 12 additions & 12 deletions packages/core/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ <h1>
<div class="row footer__links">
<div class="col col--3 footer__col">
<div class="footer__title">Docs</div>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">
Getting Started
Expand All @@ -603,7 +603,7 @@ <h1>
</div>
<div class="col col--3 footer__col">
<div class="footer__title">Community</div>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Users</a>
</li>
Expand All @@ -621,7 +621,7 @@ <h1>
</div>
<div class="col col--3 footer__col">
<div class="footer__title">Social</div>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">GitHub</a>
</li>
Expand All @@ -635,7 +635,7 @@ <h1>
</div>
<div class="col col--3 footer__col">
<div class="footer__title">More</div>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Tutorial</a>
</li>
Expand Down Expand Up @@ -683,7 +683,7 @@ <h1>
<div class="row footer__links">
<div class="col footer__col">
<h4 class="footer__title">Docs</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">
Getting Started
Expand All @@ -699,7 +699,7 @@ <h4 class="footer__title">Docs</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">Community</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Users</a>
</li>
Expand All @@ -717,7 +717,7 @@ <h4 class="footer__title">Community</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">Social</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">GitHub</a>
</li>
Expand All @@ -731,7 +731,7 @@ <h4 class="footer__title">Social</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">More</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Tutorial</a>
</li>
Expand Down Expand Up @@ -2942,7 +2942,7 @@ <h1>
<div class="row footer__links">
<div class="col footer__col">
<h4 class="footer__title">Docs</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Getting Started</a>
</li>
Expand All @@ -2956,7 +2956,7 @@ <h4 class="footer__title">Docs</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">Community</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Users</a>
</li>
Expand All @@ -2970,7 +2970,7 @@ <h4 class="footer__title">Community</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">Social</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">GitHub</a>
</li>
Expand All @@ -2984,7 +2984,7 @@ <h4 class="footer__title">Social</h4>
</div>
<div class="col footer__col">
<h4 class="footer__title">More</h4>
<ul class="footer__items">
<ul class="footer__items clean-list">
<li class="footer__item">
<a class="footer__link-item" href="#url">Tutorial</a>
</li>
Expand Down
2 changes: 0 additions & 2 deletions packages/core/styles/components/footer.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@
}

&__items {
list-style: none;
margin-bottom: 0;
padding-left: 0;
}

@media (--ifm-narrow-window) {
Expand Down
5 changes: 5 additions & 0 deletions packages/core/styles/utilities/misc.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@
font-family: inherit;
padding: 0;
}

.clean-list {
list-style: none;
padding-left: 0;
}

0 comments on commit 42e716b

Please sign in to comment.