Skip to content

Commit

Permalink
fix: ナビバーのスタイルの微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
shun-shobon committed Oct 19, 2024
1 parent 8687e22 commit 3283956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/BottomNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function Selected({ length, index }: SelectedProps): ReactNode {
return (
<div className="absolute inset-x-4 inset-y-0">
<div
className="-top-1 absolute inset-y-0 left-0 transition-transform duration-200 ease-in-backward"
className="-top-0.5 md:-top-1 absolute inset-y-1 left-0 transition-transform duration-200 ease-in-backward md:inset-y-0"
style={{
width: `${100 / length}%`,
transform: `translateX(${100 * index}%)`,
Expand Down

0 comments on commit 3283956

Please sign in to comment.