refactor: UI / UX 体验优化#16
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 65061f1525
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 15b2eda592
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| import { useColorScheme } from "@/hooks/use-color-scheme"; | ||
| import { useT } from "@/lib/i18n"; | ||
|
|
||
| const HEADER_HEIGHT = 40; |
There was a problem hiding this comment.
Match drawer top offset to actual header height
CourseDrawer anchors both the blur overlay and the panel at insets.top + 40, but the course screen header it is supposed to sit below is h-12 (48px) in app/(tabs)/course.tsx. This 8px mismatch makes the drawer/overlay start inside the header region, so the lower part of the header can be visually covered and receive blocked touches when the drawer is open, contradicting the component’s own “do not affect top controls” behavior.
Useful? React with 👍 / 👎.
No description provided.