Position ders Datums angepasst
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "spritzschema",
|
"name": "spritzschema",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"date": "2023-07-06",
|
"date": "2023-07-06",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -41,11 +41,11 @@ document.addEventListener('DOMContentLoaded', async function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function buildCellHtml(day, einheit) {
|
function buildCellHtml(day, einheit) {
|
||||||
let x = `${day.toFormat('d')}
|
let x = `<div id="inner">${day.toFormat('d')}
|
||||||
<div id="lowline" class="small">
|
<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 id="eh">${einheit !== 0 ? einheit : ''}</div>
|
||||||
</div>`
|
</div></div>`
|
||||||
return x
|
return x
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -70,11 +70,22 @@ footer {
|
|||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#lowline {
|
|
||||||
display: flex;
|
#inner {
|
||||||
justify-content: space-between;
|
margin-top: -45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#lowline {
|
||||||
|
width: 100%;
|
||||||
|
clear: float;
|
||||||
}
|
}
|
||||||
|
|
||||||
#eh {
|
#eh {
|
||||||
color: black;
|
color: black;
|
||||||
|
float: right;
|
||||||
|
margin-right: -20px;
|
||||||
|
}
|
||||||
|
#wtg {
|
||||||
|
float: left;
|
||||||
|
margin-left: -20px;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user