From 9bf48ed5953bfa25d44f88472bbf56baf3fd634b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 23 Feb 2023 09:38:02 -0600 Subject: Change web shell to use permanent header --- src/view/shell/web/DesktopLeftColumn.tsx | 35 ++++++-------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) (limited to 'src/view/shell/web/DesktopLeftColumn.tsx') diff --git a/src/view/shell/web/DesktopLeftColumn.tsx b/src/view/shell/web/DesktopLeftColumn.tsx index 54e3e93e1..28c867582 100644 --- a/src/view/shell/web/DesktopLeftColumn.tsx +++ b/src/view/shell/web/DesktopLeftColumn.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {Pressable, StyleSheet, TouchableOpacity, View} from 'react-native' +import {Pressable, StyleSheet, View} from 'react-native' import {observer} from 'mobx-react-lite' import {Link} from '../../com/util/Link' import {Text} from '../../com/util/text/Text' @@ -15,7 +15,6 @@ import { BellIconSolid, MagnifyingGlassIcon, CogIcon, - ComposeIcon, } from 'lib/icons' interface NavItemProps { @@ -40,7 +39,7 @@ export const NavItem = observer( // @ts-ignore Pressable state differs for RNW -prf state.hovered && hoverBg, ]}> - + { const store = useStores() - const containerBg = useColorSchemeStyle( - styles.containerBgLight, - styles.containerBgDark, - ) const pal = usePalette('default') const avi = ( { /> ) return ( - + - - Bluesky - { icon={} iconFilled={} /> - - + { }) const styles = StyleSheet.create({ - containerBgLight: { - backgroundColor: '#f9f9fd', - }, - containerBgDark: { - backgroundColor: '#f9f9fd', // TODO - }, - container: { position: 'absolute', - left: 0, + left: 5, + top: 100, width: '300px', - height: '100vh', - borderRightWidth: 1, - paddingTop: 5, }, main: { flex: 1, @@ -155,11 +137,6 @@ const styles = StyleSheet.create({ marginHorizontal: 8, }, - logo: { - paddingTop: 8, - paddingBottom: 14, - }, - navItem: { paddingVertical: 8, paddingHorizontal: 6, -- cgit 1.4.1