Fix BottomAppBar.svelte css positioninx

This commit is contained in:
Alessio Davoli 2023-07-18 14:56:54 +02:00
parent e7a69f2e78
commit 38f587c7e0

View file

@ -1,4 +1,5 @@
<div id="container">
<div id="container-of-container">
<div id="container">
<a href="/">
<img src="/images/home-icon.png" alt="home" />
</a>
@ -8,18 +9,26 @@
<a href="/settings">
<img src="/images/settings-icon.png" alt="settings" />
</a>
</div>
</div>
<style>
#container-of-container {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
}
#container {
display: flex;
height: 68px;
justify-content: center;
width: 90%;
border-radius: 90px;
box-shadow: 0 0 50px #ccc;
background-color: var(--card-background-color);
position: absolute;
bottom: 0;
margin: 0 auto;
margin-bottom: 10px;
}