fix right nav overflow
This commit is contained in:
@@ -27,13 +27,7 @@ export function DesktopFeeds() {
|
|||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
return (
|
return (
|
||||||
<View
|
<View style={[{gap: 10}]}>
|
||||||
style={[
|
|
||||||
{
|
|
||||||
gap: 10,
|
|
||||||
paddingVertical: 2,
|
|
||||||
},
|
|
||||||
]}>
|
|
||||||
{Array(5)
|
{Array(5)
|
||||||
.fill(0)
|
.fill(0)
|
||||||
.map((_, i) => (
|
.map((_, i) => (
|
||||||
@@ -60,6 +54,7 @@ export function DesktopFeeds() {
|
|||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
|
a.flex_1,
|
||||||
web({
|
web({
|
||||||
gap: 10,
|
gap: 10,
|
||||||
/*
|
/*
|
||||||
@@ -89,6 +84,7 @@ export function DesktopFeeds() {
|
|||||||
style={[
|
style={[
|
||||||
a.text_md,
|
a.text_md,
|
||||||
a.leading_snug,
|
a.leading_snug,
|
||||||
|
a.flex_shrink_0,
|
||||||
current
|
current
|
||||||
? [a.font_semi_bold, t.atoms.text]
|
? [a.font_semi_bold, t.atoms.text]
|
||||||
: [t.atoms.text_contrast_medium],
|
: [t.atoms.text_contrast_medium],
|
||||||
|
|||||||
@@ -79,8 +79,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
|
|||||||
* Compensate for the right padding above (2px) to retain intended width.
|
* Compensate for the right padding above (2px) to retain intended width.
|
||||||
*/
|
*/
|
||||||
width: width + gutters.paddingLeft + 2,
|
width: width + gutters.paddingLeft + 2,
|
||||||
maxHeight: '100%',
|
maxHeight: '100vh',
|
||||||
overflowY: 'auto',
|
|
||||||
}),
|
}),
|
||||||
]}>
|
]}>
|
||||||
{!isSearchScreen && <DesktopSearch />}
|
{!isSearchScreen && <DesktopSearch />}
|
||||||
|
|||||||
Reference in New Issue
Block a user