fix: 넘기는 카드 화살표를 모바일에서도 보이게
This commit is contained in:
1 parent
0a1544c7f3
commit
2fe00c916e
1 file changed
+1
-1
@@ -69,7 +69,7 @@ export function Sec({ title, sub, more, className }: SecProps) {
|
||||
|
||||
/** PC(마우스)에서만 보이는 좌우 화살표 */
|
||||
export function Arrows({ api, prev, next, className }: { api: Carousel; prev: boolean; next: boolean; className?: string }) {
|
||||
const btn = 'absolute top-1/2 z-[3] hidden size-8 -translate-y-1/2 cursor-pointer place-items-center rounded-full bg-white/90 text-lg font-extrabold text-[#28304a] shadow-[0_4px_10px_rgb(40_48_74/0.18)] pointer-fine:grid'
|
||||
const btn = 'absolute top-1/2 z-[3] grid size-8 -translate-y-1/2 cursor-pointer place-items-center rounded-full bg-white/90 text-lg font-extrabold text-[#28304a] shadow-[0_4px_10px_rgb(40_48_74/0.18)]'
|
||||
return (
|
||||
<>
|
||||
{prev && (
|
||||
|
||||
Reference in new issue
Block a user