remove unnecessary usage of headerHeight

This commit is contained in:
Athou
2024-01-18 08:53:15 +01:00
parent 99db85328b
commit a8be8f2edf
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ export function FeedEntriesPage(props: FeedEntriesPageProps) {
if (noSubscriptions) return <NoSubscriptionHelp />
return (
// add some room at the bottom of the page in order to be able to scroll the current entry at the top of the page when expanding
<Box mb={viewport.height - Constants.layout.headerHeight - 210}>
<Box mb={viewport.height * 0.75}>
<Group gap="xl">
{sourceWebsiteUrl && (
<a href={sourceWebsiteUrl} target="_blank" rel="noreferrer" className={classes.sourceWebsiteLink}>

View File

@@ -173,7 +173,7 @@ export default function Layout(props: LayoutProps) {
axis="x"
defaultPosition={{
x: sidebarWidth,
y: Constants.layout.headerHeight,
y: 0,
}}
bounds={{
left: 120,