···11+import {StyleSheet} from 'react-native'
12import type React from 'react'
2333-import {atoms as a, useTheme, type ViewStyleProp} from '#/alf'
44+import {isHighDPI} from '#/lib/browser'
55+import {atoms as a, platform, useTheme, type ViewStyleProp} from '#/alf'
46import {Fill} from '#/components/Fill'
5768/**
···2527 <Fill
2628 style={[
2729 a.rounded_md,
2828- a.border,
3030+ {
3131+ borderWidth: platform({
3232+ native: StyleSheet.hairlineWidth,
3333+ // while we generally use hairlineWidth (aka 1px),
3434+ // we make an exception here for high DPI screens
3535+ // as the 1px border is very noticeable -sfn
3636+ web: isHighDPI ? 0.5 : StyleSheet.hairlineWidth,
3737+ }),
3838+ },
2939 opaque
3040 ? [t.atoms.border_contrast_low]
3141 : [
···3444 : t.atoms.border_contrast_high,
3545 {opacity: 0.6},
3646 ],
3737- {
3838- pointerEvents: 'none',
3939- },
4747+ a.pointer_events_none,
4048 style,
4149 ]}>
4250 {children}