mirror of
https://github.com/Paillat-dev/svelte-github-calendar.git
synced 2026-01-02 01:06:20 +00:00
🐛 Fix css stuff again
This commit is contained in:
@@ -22,9 +22,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class={`calendar-holder ${className}`}>
|
||||
<div class="calendar"></div>
|
||||
</div>
|
||||
<div class={`calendar ${className}`}></div>
|
||||
|
||||
<style global>
|
||||
:root {
|
||||
@@ -35,7 +33,6 @@
|
||||
--color-calendar-graph-day-L4-bg: #0a4208 !important;
|
||||
}
|
||||
:global {
|
||||
.calendar-holder {
|
||||
.ContributionCalendar-day[data-level='0'] {
|
||||
background-color: var(--color-calendar-graph-day-bg) !important;
|
||||
}
|
||||
@@ -275,5 +272,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { GitHubCalendar } from '../lib/index.js';
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<GitHubCalendar username="Paillat-dev" class="w-full h-auto" />
|
||||
</main>
|
||||
Reference in New Issue
Block a user