Skip to content

Commit

Permalink
Nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed May 31, 2024
1 parent 6a8521e commit 8a57c4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions docs/content/fsdocs-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
--main-grid-row: 2;
--main-grid-column: 2;
--dialog-width: 500px;
--api-docs-first-column-min-width: 320px;
--api-docs-second-column-min-width: 240px;

/* light theme */
--primary: #1e8bc3;
Expand Down Expand Up @@ -1016,11 +1018,11 @@ span[onmouseout] {
& tr {
display: flex;
flex-flow: row wrap;
column-gap: 1rem;
column-gap: var(--spacing-300);

& td:first-of-type {
flex: 25 0 0;
min-width: 20em;
min-width: var(--api-docs-first-column-min-width);
overflow-x: hidden;
text-overflow: ellipsis;
overflow-wrap: break-word;
Expand All @@ -1032,7 +1034,7 @@ span[onmouseout] {

& td:nth-of-type(2) {
flex: 75 0 0;
min-width: 15em;
min-width: var(--api-docs-second-column-min-width);
}
}

Expand Down Expand Up @@ -1068,7 +1070,7 @@ span[onmouseout] {
counter-increment: list-item 0;
list-style: disclosure-closed outside;
cursor: pointer;
margin-left: 1rem;
margin-left: var(--spacing-300);

> .fsdocs-summary {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion docs/content/fsdocs-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function scrollToAndExpandSelectedMember() {
}

scrollToAndExpandSelectedMember();
addEventListener('hashchange', _event => scrollToAndExpandSelectedMember());
addEventListener('hashchange', scrollToAndExpandSelectedMember);

if(location.pathname.startsWith('/reference/')) {
// Scroll to API Reference header
Expand Down

0 comments on commit 8a57c4b

Please sign in to comment.