style: safe center home app

This commit is contained in:
Ayo Ayco 2024-09-03 23:13:06 +02:00
parent cc63223742
commit f85608bc7c

View file

@ -64,26 +64,20 @@ const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy';
</html> </html>
<style> <style>
body {
display: grid;
place-content: safe center;
}
#app-wrapper { #app-wrapper {
width: 100%; width: 100%;
max-width: 650px; max-width: 650px;
margin: 0 auto;
padding: 0.5rem; padding: 0.5rem;
padding-bottom: 5em; padding-bottom: 5em;
/*
position: relative;
top: 50%;
transform: translateY(-50%);
*/
&:has(#router-outlet #post) { &:has(#router-outlet #post) {
/*
position: default;
top: 0;
transform: none;
*/
#jumbotron { #jumbotron {
display: none; display: none;
} }