mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
remove unnecessary usage of headerHeight
This commit is contained in:
@@ -72,7 +72,7 @@ export function FeedEntriesPage(props: FeedEntriesPageProps) {
|
|||||||
if (noSubscriptions) return <NoSubscriptionHelp />
|
if (noSubscriptions) return <NoSubscriptionHelp />
|
||||||
return (
|
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
|
// 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">
|
<Group gap="xl">
|
||||||
{sourceWebsiteUrl && (
|
{sourceWebsiteUrl && (
|
||||||
<a href={sourceWebsiteUrl} target="_blank" rel="noreferrer" className={classes.sourceWebsiteLink}>
|
<a href={sourceWebsiteUrl} target="_blank" rel="noreferrer" className={classes.sourceWebsiteLink}>
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export default function Layout(props: LayoutProps) {
|
|||||||
axis="x"
|
axis="x"
|
||||||
defaultPosition={{
|
defaultPosition={{
|
||||||
x: sidebarWidth,
|
x: sidebarWidth,
|
||||||
y: Constants.layout.headerHeight,
|
y: 0,
|
||||||
}}
|
}}
|
||||||
bounds={{
|
bounds={{
|
||||||
left: 120,
|
left: 120,
|
||||||
|
|||||||
Reference in New Issue
Block a user