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