Skip to content

Commit

Permalink
fix appearance of "API Reference" text and make search click area larger
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Oct 10, 2024
1 parent fec7e28 commit 9a14f14
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions tools/api-plugins/api-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ a.title {
a.title::after {
content: "API Reference";
color: initial;
opacity: 0.6;
font-weight: 100;
opacity: 0.8;
font-weight: 300;
font-size: 20px;
margin-left: -37px;
bottom: 1px;
Expand Down Expand Up @@ -103,17 +103,28 @@ html[data-theme="dark"] a.title {
}

@media screen and (max-width: 769px) {
.tsd-page-toolbar .tsd-toolbar-contents {
}

#tsd-widgets {
line-height: initial;
}
}

#tsd-search .field label {
z-index: 1;
#tsd-search .field label {
z-index: 10;
overflow: visible;
padding-left: calc(min(500px, 80%) - 40px);
margin-right: 40px;
}

@media screen and (max-width: 440px) {
a.title::after {
content: none;
}

#tsd-search .field label {
padding-left: calc(80% - 80px);
margin-right: 20px;
}
}

0 comments on commit 9a14f14

Please sign in to comment.