Skip to content

Commit 92df83d

Browse files
Fix Team sticky headers (vuejs#2059)
1 parent cd32dac commit 92df83d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/about/team/TeamList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ defineProps<{
6161
@media (min-width: 768px) {
6262
.info {
6363
position: sticky;
64-
top: calc(var(--vt-banner-height) + 32px);
64+
top: calc(var(--vt-banner-height, 0px) + 32px);
6565
left: 0;
6666
padding: 0 24px 0 0;
6767
width: 256px;
@@ -74,7 +74,7 @@ defineProps<{
7474
7575
@media (min-width: 960px) {
7676
.info {
77-
top: calc(var(--vt-banner-height) + 88px);
77+
top: calc(var(--vt-banner-height, 0px) + 88px);
7878
padding: 0 64px 0 0;
7979
width: 384px;
8080
}

0 commit comments

Comments
 (0)