refactor(css): add new global classes & card border hover styling (#1156)

This commit is contained in:
TheCatLady
2021-03-11 21:25:46 -05:00
committed by GitHub
parent 71773c91c6
commit 1be97fe7fb
31 changed files with 165 additions and 152 deletions

View File

@@ -163,7 +163,9 @@ const Slider: React.FC<SliderProps> = ({
<div className="absolute right-0 flex -mt-10 text-gray-400">
<button
className={`${
scrollPos.isStart ? 'cursor-not-allowed text-gray-800' : ''
scrollPos.isStart
? 'cursor-not-allowed text-gray-800'
: 'hover:text-white'
}`}
onClick={() => slide(Direction.LEFT)}
disabled={scrollPos.isStart}
@@ -185,7 +187,9 @@ const Slider: React.FC<SliderProps> = ({
</button>
<button
className={`${
scrollPos.isEnd ? 'cursor-not-allowed text-gray-800' : ''
scrollPos.isEnd
? 'cursor-not-allowed text-gray-800'
: 'hover:text-white'
}`}
onClick={() => slide(Direction.RIGHT)}
disabled={scrollPos.isEnd}