Skip to content

Commit cde2a8f

Browse files
committed
Merge branch 'design-revamp' into beta
2 parents f766681 + 010aff2 commit cde2a8f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

static/style.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ dd {
212212
border-top: 1px solid var(--color-accent);
213213
padding-top: 1rem;
214214
padding-bottom: 1rem;
215+
max-height: 3.5rem;
215216
}
216217

217218
.tsd-generator > p {
@@ -913,26 +914,24 @@ a.tsd-index-link {
913914

914915
.menu-sticky-wrap {
915916
position: sticky;
916-
height: 94vh;
917+
height: calc(100vh - 2rem);
918+
top: 4rem;
917919
right: 0;
920+
padding: 0 1.5rem;
918921
padding-top: 1rem;
919-
top: 3rem;
922+
margin-top: 3rem;
920923
transition: 0.3s ease-in-out;
921-
transition-property: top, padding-top, height;
924+
transition-property: top, padding-top, padding, height;
922925
overflow-y: auto;
923926
}
924927
.col-menu {
925928
border-left: 1px solid var(--color-accent);
926929
}
927-
.col-menu .tsd-navigation:not(:last-child) {
928-
padding-bottom: 1.75rem;
929-
}
930-
.col-menu.menu-sticky-wrap {
931-
padding: 0 1.5rem;
932-
}
933930
.col-menu--hide {
934931
top: 1rem;
935-
height: calc(100vh - 2rem);
932+
}
933+
.col-menu .tsd-navigation:not(:last-child) {
934+
padding-bottom: 1.75rem;
936935
}
937936
}
938937

0 commit comments

Comments
 (0)