File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 8383
8484 /* For inline code */
8585 :global(p code ) {
86- @apply bg-carbongray- 400 px- 1 py- 0.5;
86+ @apply bg-carbongray- 100 rounded-sm px- 1 py- 0.5;
8787 white-space : normal ;
8888 word-wrap : break-word ;
8989 overflow-wrap : break-word ;
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { afterNavigate , beforeNavigate } from ' $app/navigation' ;
3- import { Tags } from ' lucide-svelte' ;
4- import { Button } from ' $lib/components/ui/button' ;
5- import { ScrollArea } from ' $lib/components/ui/scroll-area/index.js' ;
2+ import { afterNavigate , beforeNavigate } from " $app/navigation" ;
3+ import { Tags } from " lucide-svelte" ;
4+ import { Button } from " $lib/components/ui/button" ;
5+ import { ScrollArea } from " $lib/components/ui/scroll-area/index.js" ;
66
77 export let tags;
88 let hidden = true ;
2121</Button >
2222
2323<ScrollArea
24- class ={` ${hidden ? ' hidden' : ' ' } fixed right-4 top-9 h-[500px] w-[200px] rounded-sm bg-carbongray-100 p-2 shadow ` }
24+ class ={` ${hidden ? " hidden" : " " } fixed right-4 top-9 h-[500px] w-[200px] rounded-sm bg-carbongray-50 dark:bg-carbongray-700 p-2 shadow ` }
2525>
2626 <div class =" flex flex-col justify-center gap-2 p-2" >
2727 <div class =" my-2 text-base font-bold" >TAGS</div >
2828 {#each tags as tag (tag .name )}
29- <div ><a class ="text-primary" href ="/tags/ {tag .name }" >#{tag .name }</a ></div >
29+ <div >
30+ <a
31+ class =" text-primary hover:bg-carbongray-100 w-full p-1 rounded-sm dark:hover:bg-carbongray-600"
32+ href ="/tags/ {tag .name }" >#{tag .name }</a
33+ >
34+ </div >
3035 {/each }
3136 </div >
3237</ScrollArea >
You can’t perform that action at this time.
0 commit comments