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>
|
</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>
|
||||||
|
|||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user