Skip to content

Commit

Permalink
Doc fix for Safari and postion sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
apearce committed Sep 12, 2019
1 parent fe58ee9 commit 074f139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ main > section {
}

#api ~ section h3 {
display: inline-block;
left: 0;
margin-right: -100%; /* Hack for Safari. Grrrrr */
margin-top: 0;
position: -webkit-sticky;
position: -webkit-sticky; /* Hack for Safari. Grrrrr */
position: sticky;
white-space: nowrap; /* Hack for Safari. Grrrrr */
width: 0; /* Hack for Safari. Grrrrr */
}

table {
Expand Down

0 comments on commit 074f139

Please sign in to comment.