This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(list): Support ellipsis the single line list item
- Loading branch information
1 parent
8b80f1c
commit a536d33
Showing
13 changed files
with
1,569 additions
and
972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,44 +43,62 @@ <h6 class="mdc-drawer__subtitle">[email protected]</h6> | |
<nav class="mdc-list"> | ||
<a class="mdc-list-item mdc-list-item--activated" href="#" aria-selected="true" tabindex="0"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">inbox</i> | ||
Inbox | ||
<span class="mdc-list-item__text"> | ||
Inbox | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">star</i> | ||
Star | ||
<span class="mdc-list-item__text"> | ||
Star | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">send</i> | ||
Sent Mail | ||
<span class="mdc-list-item__text"> | ||
Sent Mail | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">drafts</i> | ||
Drafts | ||
<span class="mdc-list-item__text"> | ||
Drafts | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<h6 class="mdc-list-group__subheader">Labels</h6> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Family | ||
<span class="mdc-list-item__text"> | ||
Family | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Friends | ||
<span class="mdc-list-item__text"> | ||
Friends | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Work | ||
<span class="mdc-list-item__text"> | ||
Work | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">settings</i> | ||
Settings | ||
<span class="mdc-list-item__text"> | ||
Settings | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">announcement</i> | ||
Help & feedback | ||
<span class="mdc-list-item__text"> | ||
Help & feedback | ||
</span> | ||
</a> | ||
</nav> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,44 +43,62 @@ <h6 class="mdc-drawer__subtitle">[email protected]</h6> | |
<nav class="mdc-list"> | ||
<a class="mdc-list-item mdc-list-item--activated" href="#" tabindex="0"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">inbox</i> | ||
Inbox | ||
<span class="mdc-list-item__text"> | ||
Inbox | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">star</i> | ||
Star | ||
<span class="mdc-list-item__text"> | ||
Star | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">send</i> | ||
Sent Mail | ||
<span class="mdc-list-item__text"> | ||
Sent Mail | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">drafts</i> | ||
Drafts | ||
<span class="mdc-list-item__text"> | ||
Drafts | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<h6 class="mdc-list-group__subheader">Labels</h6> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Family | ||
<span class="mdc-list-item__text"> | ||
Family | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Friends | ||
<span class="mdc-list-item__text"> | ||
Friends | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
Work | ||
<span class="mdc-list-item__text"> | ||
Work | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">settings</i> | ||
Settings | ||
<span class="mdc-list-item__text"> | ||
Settings | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">announcement</i> | ||
Help & feedback | ||
<span class="mdc-list-item__text"> | ||
Help & feedback | ||
</span> | ||
</a> | ||
</nav> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,36 +42,63 @@ <h6 class="mdc-drawer__subtitle">[email protected]</h6> | |
<div class="mdc-drawer__content"> | ||
<nav class="mdc-list"> | ||
<a class="mdc-list-item mdc-list-item--activated" href="#" aria-selected="true" tabindex="0"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">inbox</i>Inbox | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">inbox</i> | ||
<span class="mdc-list-item__text"> | ||
Inbox | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">star</i>Star | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">star</i> | ||
<span class="mdc-list-item__text"> | ||
Star | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">send</i>Sent Mail | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">send</i> | ||
<span class="mdc-list-item__text"> | ||
Sent Mail | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">drafts</i>Drafts | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">drafts</i> | ||
<span class="mdc-list-item__text"> | ||
Drafts | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<h6 class="mdc-list-group__subheader">Labels</h6> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i>Family | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
<span class="mdc-list-item__text"> | ||
Family | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i>Friends | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
<span class="mdc-list-item__text"> | ||
Friends | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i>Work | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">bookmark</i> | ||
<span class="mdc-list-item__text"> | ||
Work | ||
</span> | ||
</a> | ||
|
||
<hr class="mdc-list-divider"> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">settings</i>Settings | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">settings</i> | ||
<span class="mdc-list-item__text"> | ||
Settings | ||
</span> | ||
</a> | ||
<a class="mdc-list-item" href="#"> | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">announcement</i>Help & feedback | ||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">announcement</i> | ||
<span class="mdc-list-item__text"> | ||
Help & feedback | ||
</span> | ||
</a> | ||
</nav> | ||
</div> | ||
|
Oops, something went wrong.