Fixed gapping of heatmap

This commit is contained in:
Verox001 2024-01-30 10:49:08 +01:00
parent e5d61abad3
commit 61f570a51b

View File

@ -13,8 +13,8 @@
} }
.day { .day {
width: 50px; /* Ändere die Breite nach Bedarf */ width: 50px;
height: 50px; /* Ändere die Höhe nach Bedarf */ height: 50px;
border: 1px solid #ccc; border: 1px solid #ccc;
display: flex; display: flex;
align-items: center; align-items: center;
@ -24,7 +24,10 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-5 col-12" id="heatmap"></div> <div class="col-md-5 col-12">
<div id="heatmap"></div>
</div>
<script> <script>
// Funktion zur Rückgabe des Montagsdatums // Funktion zur Rückgabe des Montagsdatums
function getMonday(date) { function getMonday(date) {
@ -76,7 +79,7 @@
createHeatmap(activityData); createHeatmap(activityData);
</script> </script>
<div class="col-sm-12 col-md-7 col-12"> <div class="col-md-7 col-12">
<div class="row mb-3"> <div class="row mb-3">
<h2 class="col-10">Task List</h2> <h2 class="col-10">Task List</h2>
<a class="col-2 btn btn-primary" role="button" href="/habit"> <a class="col-2 btn btn-primary" role="button" href="/habit">