Remove side borders on mobile web list (#2994)
parent
0311288dd7
commit
a8925bac86
|
@ -172,7 +172,7 @@ function ListImpl<ItemT>(
|
||||||
<View
|
<View
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
style={[
|
style={[
|
||||||
styles.contentContainer,
|
!isMobile && styles.sideBorders,
|
||||||
contentContainerStyle,
|
contentContainerStyle,
|
||||||
desktopFixedHeight ? styles.minHeightViewport : null,
|
desktopFixedHeight ? styles.minHeightViewport : null,
|
||||||
pal.border,
|
pal.border,
|
||||||
|
@ -304,7 +304,7 @@ export const List = memo(React.forwardRef(ListImpl)) as <ItemT>(
|
||||||
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
|
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
contentContainer: {
|
sideBorders: {
|
||||||
borderLeftWidth: 1,
|
borderLeftWidth: 1,
|
||||||
borderRightWidth: 1,
|
borderRightWidth: 1,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue