removed style attribute to make csp work
This commit is contained in:
parent
9cc67e217a
commit
da2caca2d6
|
|
@ -7,8 +7,9 @@
|
|||
%sveltekit.head%
|
||||
|
||||
<link rel="stylesheet" href="%sveltekit.assets%/global.css" />
|
||||
<style nonce="%sveltekit.nonce%"> .sveltekit-body { display: contents; } </style>
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
<div class=".sveltekit-body">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<li><a href="/schaetzung">Stundenschätzung</a></li>
|
||||
<li><a href="/dokumente">Dokumente</a></li>
|
||||
|
||||
<li style="height: 20px"></li>
|
||||
<li class="separator"></li>
|
||||
<li>Benutzerverwaltung</li>
|
||||
<li>
|
||||
<form method="POST" action="/login?/logout">
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
{/snippet}
|
||||
|
||||
<div style:display="flex">
|
||||
<div class="navcontainer">
|
||||
{@render nav("navpos nav")}
|
||||
{@render nav("navpseudo nav")}
|
||||
|
||||
|
|
@ -33,6 +33,10 @@
|
|||
|
||||
<style>
|
||||
|
||||
.navcontainer {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.navpos {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
|
@ -65,6 +69,10 @@
|
|||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.nav .separator {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.nav button {
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
|
|
|||
Loading…
Reference in New Issue