mirror of
https://github.com/Matewoo/pdf-writer.git
synced 2026-11-18 18:52:45 +01:00
fix bug with scrolling content behind header
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: #ffffff;
|
/*background: #ffffff;*/
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
@@ -89,6 +89,17 @@
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
z-index: 2;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,9 @@ function loadWeek(week) {
|
|||||||
|
|
||||||
const container = document.querySelector('body');
|
const container = document.querySelector('body');
|
||||||
container.innerHTML = `
|
container.innerHTML = `
|
||||||
<h1>Freuen Sie sich auf:</h1>
|
<div class="header">
|
||||||
|
<h1>Freuen Sie sich auf:</h1>
|
||||||
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="ticker-wrapper">
|
<div class="ticker-wrapper">
|
||||||
<div class="ticker-content">
|
<div class="ticker-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user