🐛 Fix css stuff again

This commit is contained in:
Paillat
2025-08-28 19:02:09 +02:00
parent 71af282bd2
commit d9e776683f
2 changed files with 4 additions and 6 deletions

View File

@@ -22,9 +22,7 @@
}); });
</script> </script>
<div class={`calendar-holder ${className}`}> <div class={`calendar ${className}`}></div>
<div class="calendar"></div>
</div>
<style global> <style global>
:root { :root {
@@ -35,7 +33,6 @@
--color-calendar-graph-day-L4-bg: #0a4208 !important; --color-calendar-graph-day-L4-bg: #0a4208 !important;
} }
:global { :global {
.calendar-holder {
.ContributionCalendar-day[data-level='0'] { .ContributionCalendar-day[data-level='0'] {
background-color: var(--color-calendar-graph-day-bg) !important; background-color: var(--color-calendar-graph-day-bg) !important;
} }
@@ -275,5 +272,5 @@
} }
} }
} }
}
</style> </style>

View File

@@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import { GitHubCalendar } from '../lib/index.js'; import { GitHubCalendar } from '../lib/index.js';
</script> </script>
<main>
<GitHubCalendar username="Paillat-dev" class="w-full h-auto" /> <GitHubCalendar username="Paillat-dev" class="w-full h-auto" />
</main>