Position ders Datums angepasst

This commit is contained in:
rxf
2023-07-06 15:00:07 +02:00
parent ed458b209a
commit ec953b0ae6
3 changed files with 19 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "spritzschema",
"version": "1.2.1",
"version": "1.2.2",
"date": "2023-07-06",
"private": true,
"scripts": {

View File

@@ -41,11 +41,11 @@ document.addEventListener('DOMContentLoaded', async function () {
}
function buildCellHtml(day, einheit) {
let x = `${day.toFormat('d')}
let x = `<div id="inner">${day.toFormat('d')}
<div id="lowline" class="small">
<div>${day.setLocale('de').toFormat('ccc')}</div>
<div id="wtg">${day.setLocale('de').toFormat('ccc')}</div>
<div id="eh">${einheit !== 0 ? einheit : ''}</div>
</div>`
</div></div>`
return x
}

View File

@@ -70,11 +70,22 @@ footer {
margin-top: 30px;
}
#inner {
margin-top: -45px;
}
#lowline {
display: flex;
justify-content: space-between;
width: 100%;
clear: float;
}
#eh {
color: black;
float: right;
margin-right: -20px;
}
#wtg {
float: left;
margin-left: -20px;
}