Skip to content

Commit 21876fc

Browse files
authored
Update dropdown for ai links on smaller screens (#7109)
1 parent 0a08edc commit 21876fc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/components/content-dropdown/styles.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ $border-color: #2d3748;
1111
position: absolute;
1212
right: 0;
1313
top: 0;
14+
@media (max-width: 1309px) {
15+
top: 32px;
16+
left: 16px;
17+
}
1418
}
1519

1620
.anchor {

src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,12 @@ hr {
10471047
padding-top: 1.25rem;
10481048
}
10491049

1050+
@media (max-width: 1309px) and (min-width: 996px) {
1051+
.table-of-contents > li:first-of-type {
1052+
padding-top: 54px;
1053+
}
1054+
}
1055+
10501056
.table-of-contents::before {
10511057
content: "On this page";
10521058
font-family:

0 commit comments

Comments
 (0)