Position ders Datums angepasst
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "spritzschema",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"date": "2023-07-06",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -70,11 +70,22 @@ footer {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#lowline {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
#inner {
|
||||
margin-top: -45px;
|
||||
}
|
||||
|
||||
#lowline {
|
||||
width: 100%;
|
||||
clear: float;
|
||||
}
|
||||
|
||||
#eh {
|
||||
color: black;
|
||||
}
|
||||
float: right;
|
||||
margin-right: -20px;
|
||||
}
|
||||
#wtg {
|
||||
float: left;
|
||||
margin-left: -20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user