Hold off on customizing web feed rendering for now

zio/stable
Paul Frazee 2023-02-24 11:51:35 -06:00
parent 9bda3b72d0
commit 70e74efe69
1 changed files with 0 additions and 9 deletions

View File

@ -22,7 +22,6 @@ import {s} from 'lib/styles'
import {useStores} from 'state/index' import {useStores} from 'state/index'
import {usePalette} from 'lib/hooks/usePalette' import {usePalette} from 'lib/hooks/usePalette'
import {useAnalytics} from 'lib/analytics' import {useAnalytics} from 'lib/analytics'
import {isDesktopWeb} from 'platform/detection'
export const FeedItem = observer(function ({ export const FeedItem = observer(function ({
item, item,
@ -109,7 +108,6 @@ export const FeedItem = observer(function ({
const isNoTop = isChild && !item._isThreadChild const isNoTop = isChild && !item._isThreadChild
const outerStyles = [ const outerStyles = [
styles.outer, styles.outer,
isDesktopWeb && styles.outerDesktopWeb,
pal.view, pal.view,
{borderColor: pal.colors.border}, {borderColor: pal.colors.border},
isSmallTop ? styles.outerSmallTop : undefined, isSmallTop ? styles.outerSmallTop : undefined,
@ -275,12 +273,6 @@ const styles = StyleSheet.create({
paddingRight: 15, paddingRight: 15,
paddingBottom: 8, paddingBottom: 8,
}, },
outerDesktopWeb: {
borderWidth: 1,
borderRadius: 4,
marginBottom: 10,
paddingBottom: 10,
},
outerNoTop: { outerNoTop: {
borderTopWidth: 0, borderTopWidth: 0,
paddingTop: 0, paddingTop: 0,
@ -290,7 +282,6 @@ const styles = StyleSheet.create({
}, },
outerNoBottom: { outerNoBottom: {
paddingBottom: 2, paddingBottom: 2,
marginBottom: 0,
}, },
topReplyLine: { topReplyLine: {
position: 'absolute', position: 'absolute',