From ec953b0ae6c24930b008bddb26f5934b19716e94 Mon Sep 17 00:00:00 2001 From: rxf Date: Thu, 6 Jul 2023 15:00:07 +0200 Subject: [PATCH] Position ders Datums angepasst --- package.json | 2 +- public/javascripts/script.js | 6 +++--- public/stylesheets/style.css | 19 +++++++++++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index c929a98..4f4270c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spritzschema", - "version": "1.2.1", + "version": "1.2.2", "date": "2023-07-06", "private": true, "scripts": { diff --git a/public/javascripts/script.js b/public/javascripts/script.js index 1a956dd..a0dc6e6 100644 --- a/public/javascripts/script.js +++ b/public/javascripts/script.js @@ -41,11 +41,11 @@ document.addEventListener('DOMContentLoaded', async function () { } function buildCellHtml(day, einheit) { - let x = `${day.toFormat('d')} + let x = `
${day.toFormat('d')}
-
${day.setLocale('de').toFormat('ccc')}
+
${day.setLocale('de').toFormat('ccc')}
${einheit !== 0 ? einheit : ''}
-
` +
` return x } diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 7844773..8588e67 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -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; -} \ No newline at end of file + float: right; + margin-right: -20px; +} +#wtg { + float: left; + margin-left: -20px; +}