mirror of
https://github.com/sct/overseerr.git
synced 2025-12-31 18:20:13 +01:00
style: add new tailwind prettier plugin (#2465)
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user