Skip to content

added sticky table headers to the implementation tables#161

Merged
keegancsmith merged 2 commits intolangserver:masterfrom
SKalt:sticky-impl-table-headers
Jul 9, 2019
Merged

added sticky table headers to the implementation tables#161
keegancsmith merged 2 commits intolangserver:masterfrom
SKalt:sticky-impl-table-headers

Conversation

@SKalt
Copy link
Copy Markdown
Contributor

@SKalt SKalt commented Jul 8, 2019

resolves #160.
Notes on cross-browser compatibility:

  • I had to create the lower border of the thead > tds as in this Stack Overflow answer.
  • position: sticky requires a -webkit- prefix on safari [docs], and chrome refuses to apply it to <tr> or <thead>, which requires a hack: using a border on th::after [source].
    I've tested this on the latest firefox, safari, and chrome.

@keegancsmith
Copy link
Copy Markdown
Collaborator

Thanks!

@keegancsmith keegancsmith merged commit 8c9a3e8 into langserver:master Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use a sticky table header

2 participants