mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
Merge remote-tracking branch 'origin/release/v1.46.0' into feat/v146-ui
# Conflicts: # src/__tests__/baselines/source-function-lines.json # src/__tests__/baselines/version-stamp-comments.json
This commit is contained in:
commit
879473305c
115 files changed
+5037
-599
No files matched your search
@@ -629,6 +629,28 @@ body,
|
||||
html[data-scroll="body"] {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
/*
|
||||
* The app shell (`data-scroll="shell"`, also set by `AuthShell`) takes the
|
||||
* window's edges and scrolls inside `<main>`, so the document has nothing
|
||||
* to scroll and must not bounce either. On iOS a swipe that reached the end
|
||||
* of `<main>` or of the rail chained to the document, the whole page
|
||||
* rubber-banded and showed the page colour under the shell, and the next
|
||||
* swipe went to that bounce instead of the list under the finger: the
|
||||
* "sometimes it does not scroll" a tablet reported.
|
||||
*
|
||||
* `height: 100%` gives the body the window's box. The shell is
|
||||
* `absolute inset-0`, which resolves against the initial containing block
|
||||
* while the body is static, and against the body once a dialog's scroll
|
||||
* lock makes it `position: relative` (react-remove-scroll does); an
|
||||
* auto-height body is 0 px tall and the shell would collapse behind every
|
||||
* dialog.
|
||||
*/
|
||||
html[data-scroll="shell"],
|
||||
html[data-scroll="shell"] body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user