Fix header in highlights mode
This commit is contained in:
@ -122,7 +122,7 @@ export function HighlightItemsLayout(
|
||||
<HStack
|
||||
css={{
|
||||
width: '100%',
|
||||
height: `calc(100vh - ${headerHeight})`,
|
||||
height: `calc(100vh - ${DEFAULT_HEADER_HEIGHT})`,
|
||||
'@lgDown': {
|
||||
overflowY: 'scroll',
|
||||
},
|
||||
@ -153,7 +153,7 @@ export function HighlightItemsLayout(
|
||||
>
|
||||
<VStack
|
||||
css={{
|
||||
minHeight: `calc(100vh - ${headerHeight})`,
|
||||
minHeight: `calc(100vh - ${DEFAULT_HEADER_HEIGHT})`,
|
||||
bg: '$thBackground',
|
||||
}}
|
||||
distribution="start"
|
||||
|
||||
@ -962,21 +962,23 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
|
||||
width: props.mode == 'highlights' ? '100%' : 'unset',
|
||||
}}
|
||||
>
|
||||
<LibraryHeader
|
||||
layout={layout}
|
||||
updateLayout={updateLayout}
|
||||
searchTerm={props.searchTerm}
|
||||
applySearchQuery={(searchQuery: string) => {
|
||||
props.applySearchQuery(searchQuery)
|
||||
}}
|
||||
showFilterMenu={showFilterMenu}
|
||||
setShowFilterMenu={setShowFilterMenu}
|
||||
multiSelectMode={props.multiSelectMode}
|
||||
setMultiSelectMode={props.setMultiSelectMode}
|
||||
numItemsSelected={props.numItemsSelected}
|
||||
showAddLinkModal={() => props.setShowAddLinkModal(true)}
|
||||
performMultiSelectAction={props.performMultiSelectAction}
|
||||
/>
|
||||
{props.mode != 'highlights' && (
|
||||
<LibraryHeader
|
||||
layout={layout}
|
||||
updateLayout={updateLayout}
|
||||
searchTerm={props.searchTerm}
|
||||
applySearchQuery={(searchQuery: string) => {
|
||||
props.applySearchQuery(searchQuery)
|
||||
}}
|
||||
showFilterMenu={showFilterMenu}
|
||||
setShowFilterMenu={setShowFilterMenu}
|
||||
multiSelectMode={props.multiSelectMode}
|
||||
setMultiSelectMode={props.setMultiSelectMode}
|
||||
numItemsSelected={props.numItemsSelected}
|
||||
performMultiSelectAction={props.performMultiSelectAction}
|
||||
/>
|
||||
)}
|
||||
|
||||
<HStack css={{ width: '100%', height: '100%' }}>
|
||||
<LibraryFilterMenu
|
||||
setShowAddLinkModal={props.setShowAddLinkModal}
|
||||
|
||||
Reference in New Issue
Block a user