mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-02 07:34:34 +02:00
36 lines
614 B
Svelte
36 lines
614 B
Svelte
<div class="menu">
|
|
<div class="package-list">
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.menu {
|
|
height: calc(100vh - 60px);
|
|
width: 100%;
|
|
padding: 0px 30px 30px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: sticky;
|
|
top: 70px;
|
|
padding-top: calc(6rem - 70px);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.menu::-webkit-scrollbar-thumb {
|
|
background-color: transparent;
|
|
}
|
|
.menu:hover::-webkit-scrollbar-thumb {
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.package-list {
|
|
margin-top: 0.75rem;
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-direction: column;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
}
|
|
</style>
|