-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(plugin-basic-ui): minSafeAreaInsetTop
#402
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
height: [ | ||
`max(${globalVars.appBar.forceSafeAreaInsetTop}, constant(safe-area-inset-top))`, | ||
`max(${globalVars.appBar.forceSafeAreaInsetTop}, env(safe-area-inset-top))`, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
max로 하는게 나은지...
CSS Variable에 empty를 넣으면 자동으로 뒤쪽이 fallback이 되는지 확인 필요-> fallback이 작동하지 않음
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Vanilla Extract의 createGlobalThemeContract는 선언된 변수의 초기값이 없으면 안됨
- 따라서 초기값을
""
로 넣어줬음. - 해당 방식에서 fallbackVar 사용하니...
""
가 값으로 들어가서, env 쪽으로 fallback이 안됨 ㅠ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
forceSafeAreaInsetTop
minSafeAreaInsetTop
No description provided.