mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(core): build config for ios android (#8555)
This commit is contained in:
@@ -30,7 +30,11 @@ export const SafeArea = forwardRef<HTMLDivElement, SafeAreaProps>(
|
||||
<div
|
||||
ref={ref}
|
||||
className={clsx(safeArea, className)}
|
||||
data-standalone={environment.isPwa ? '' : undefined}
|
||||
data-standalone={
|
||||
environment.isPwa || BUILD_CONFIG.isAndroid || BUILD_CONFIG.isIOS
|
||||
? ''
|
||||
: undefined
|
||||
}
|
||||
data-bottom={bottom ? '' : undefined}
|
||||
data-top={top ? '' : undefined}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user