File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 {#each alphabet as letter }
1111 <button
1212 class =" px-3 py-2 text-sm font-bold border rounded-md bg-gray-100 hover:bg-gray-200 cursor-pointer snap-start
13- {activeLetter === letter ? 'bg-[#bb9ac2] border-black' : ''}
1413 sm:px-4 sm:py-3 sm:text-base
1514 md:px-5 md:py-4 md:text-base
1615 lg:px-6 lg:py-4 lg:text-lg"
16+ style ={activeLetter === letter
17+ ? ' background-color: var(--TitleBackgroundColor); border-color: black;'
18+ : ' ' }
1719 on:click ={() => onLetterSelect (letter )}
1820 >
1921 {letter }
Original file line number Diff line number Diff line change 8484 }
8585 </script >
8686
87- <div class =" flex items-center justify-between bg-[#e1bee8] p-2 sticky top-0 z-10" >
87+ <div
88+ class =" flex items-center justify-between p-2"
89+ style =" background-color: var(--TabBackgroundColor);"
90+ >
8891 <button
8992 class =" flex items-center justify-center w-10 h-10 text-gray-700 hover:text-black disabled:opacity-50 disabled:cursor-not-allowed"
9093 on:click ={goToPrevious }
You can’t perform that action at this time.
0 commit comments