-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to make the root element the viewport itself
- Loading branch information
1 parent
aff802e
commit a78bb18
Showing
4 changed files
with
272 additions
and
235 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
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<div class="viewport" tabindex="-1"> | ||
<div class="content"> | ||
<div class="content-wrapper"> | ||
<div class="content" part="content"> | ||
<slot></slot> | ||
</div> | ||
</div> | ||
<div class="scrollbar vertical-scrollbar hidden"> | ||
<div class="scrollbar-track"> | ||
<div class="scrollbar-thumb"></div> | ||
<div class="scrollbar-wrapper horizontal-scrollbar-wrapper"> | ||
<div class="scrollbar horizontal-scrollbar hidden" part="scrollbar horizontal-scrollbar"> | ||
<div class="scrollbar-track" part="scrollbar-track horizontal-scrollbar-track"> | ||
<div class="scrollbar-thumb" part="scrollbar-thumb horizontal-scrollbar-thumb"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="scrollbar horizontal-scrollbar hidden"> | ||
<div class="scrollbar-track"> | ||
<div class="scrollbar-thumb"></div> | ||
<div class="scrollbar-wrapper vertical-scrollbar-wrapper"> | ||
<div class="scrollbar vertical-scrollbar hidden" part="scrollbar vertical-scrollbar"> | ||
<div class="scrollbar-track" part="scrollbar-track vertical-scrollbar-track"> | ||
<div class="scrollbar-thumb" part="scrollbar-thumb vertical-scrollbar-thumb"></div> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.