Skip to content

Commit 42b02b1

Browse files
authored
Merge pull request #63 from justinfernald/justinfernald/fix-dock-on-mobile
Improve dock position calculation for responsiveness
2 parents c73fdc0 + 5a7a83e commit 42b02b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.dock {
22
position: absolute;
3-
bottom: 0;
3+
bottom: calc(100vh - 100dvh);
44
left: 50%;
55
transform: translateX(-50%);
66
}

0 commit comments

Comments
 (0)