docs: work around browser bug with input+scrolling (#3209)
thanks for flagging @TodePond! ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [ ] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [x] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know
This commit is contained in:
parent
4c5c3daa51
commit
37870b6e73
1 changed files with 6 additions and 1 deletions
|
@ -98,7 +98,12 @@
|
|||
html {
|
||||
background-color: #000;
|
||||
border-bottom: none;
|
||||
scroll-padding-top: calc(var(--header-height) + var(--header-padding));
|
||||
/*
|
||||
* XXX: this was hitting a browser bug on Blink: https://issues.chromium.org/issues/40749247
|
||||
* Typing into the search bar was causing the page to scroll as you typed.
|
||||
* We don't need this for now anyway since we don't have subheader navigation anymore.
|
||||
*/
|
||||
/* scroll-padding-top: calc(var(--header-height) + var(--header-padding)); */
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
Loading…
Reference in a new issue