mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: position: fixed being broken
broken css feature is broken. I want position: fixed to explod
This commit is contained in:
parent
57b9e6e258
commit
875c94d0bc
@ -13,18 +13,19 @@ html {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: var(--bg-color);
|
background-color: var(--bg-color);
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
max-width: 100vw;
|
width: 100vw;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
|
@ -70,15 +70,21 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
nav {
|
||||||
|
position: fixed;
|
||||||
|
width: 100vw;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 0 1rem 0 2rem;
|
padding: 0 1rem 0 2rem;
|
||||||
top: 0;
|
|
||||||
position: fixed;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
min-height: 70px;
|
min-height: 70px;
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
background-color: var(--grey-six);
|
background-color: var(--grey-six);
|
||||||
backdrop-filter: blur(15px);
|
backdrop-filter: blur(15px);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
{#if $show_loading_animation}
|
{#if $show_loading_animation}
|
||||||
<Spinner />
|
<Spinner />
|
||||||
{:else}
|
{:else}
|
||||||
<slot />
|
<slot />
|
||||||
{/if}
|
{/if}
|
||||||
<!--
|
<!--
|
||||||
afn if you are moving the footer here, please make it not use the repositories store directly and instead use component props :) -->
|
afn if you are moving the footer here, please make it not use the repositories store directly and instead use component props :) -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user