Skip to content

Commit 7e9f1e6

Browse files
authored
fix: TeamList.vue sticky info (vuejs#2043)
1 parent e634f47 commit 7e9f1e6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/about/team/TeamList.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,27 @@ defineProps<{
6161
@media (min-width: 768px) {
6262
.info {
6363
position: sticky;
64-
top: 32px;
64+
top: calc(var(--vt-banner-height) + 32px);
6565
left: 0;
6666
padding: 0 24px 0 0;
6767
width: 256px;
6868
}
69+
70+
html.banner-dismissed .info {
71+
top: 32px;
72+
}
6973
}
7074
7175
@media (min-width: 960px) {
7276
.info {
73-
top: 88px;
77+
top: calc(var(--vt-banner-height) + 88px);
7478
padding: 0 64px 0 0;
7579
width: 384px;
7680
}
81+
82+
html.banner-dismissed .info {
83+
top: 88px;
84+
}
7785
}
7886
7987
.title {

0 commit comments

Comments
 (0)