style: add new tailwind prettier plugin (#2465)

This commit is contained in:
Ryan Cohen
2022-01-25 21:09:41 +09:00
committed by GitHub
parent 5b2a8f682b
commit 822ae9eec7
104 changed files with 737 additions and 734 deletions

View File

@@ -155,7 +155,7 @@ const Slider: React.FC<SliderProps> = ({
return (
<div className="relative">
<div className="absolute right-0 flex -mt-10 text-gray-400">
<div className="absolute right-0 -mt-10 flex text-gray-400">
<button
className={`${
scrollPos.isStart ? 'text-gray-800' : 'hover:text-white'
@@ -163,7 +163,7 @@ const Slider: React.FC<SliderProps> = ({
onClick={() => slide(Direction.LEFT)}
disabled={scrollPos.isStart}
>
<ChevronLeftIcon className="w-6 h-6" />
<ChevronLeftIcon className="h-6 w-6" />
</button>
<button
className={`${
@@ -172,11 +172,11 @@ const Slider: React.FC<SliderProps> = ({
onClick={() => slide(Direction.RIGHT)}
disabled={scrollPos.isEnd}
>
<ChevronRightIcon className="w-6 h-6" />
<ChevronRightIcon className="h-6 w-6" />
</button>
</div>
<div
className="relative px-2 py-2 -my-2 -ml-4 -mr-4 overflow-x-scroll overflow-y-auto whitespace-nowrap hide-scrollbar overscroll-x-contain"
className="hide-scrollbar relative -my-2 -ml-4 -mr-4 overflow-y-auto overflow-x-scroll overscroll-x-contain whitespace-nowrap px-2 py-2"
ref={containerRef}
onScroll={onScroll}
>