1
0
forked from Kieran/snort

fix feed padding bottom

This commit is contained in:
Martti Malmi 2024-01-12 15:37:15 +02:00
parent 1cef1e0187
commit 2cadab20b4
3 changed files with 2 additions and 6 deletions

View File

@ -109,7 +109,7 @@ export function TimelineRenderer(props: TimelineRendererProps) {
};
return (
<div ref={containerRef}>
<div ref={containerRef} className="pb-[10vh]">
{props.latest.length > 0 && (
<>
<div className="card latest-notes" onClick={() => props.showLatest(false)} ref={ref}>

View File

@ -61,7 +61,7 @@ export default function Index() {
<div className="w-full max-w-screen-xl">
<div className="flex flex-row">
<NavSidebar />
<div className="flex flex-1 flex-col pb-safe-area-plus w-full md:w-1/3">
<div className="flex flex-1 flex-col pb-safe-area w-full md:w-1/3">
{!shouldHideHeader && <Header />}
<ErrorBoundary>
<Outlet />

View File

@ -930,10 +930,6 @@ svg.repeat {
padding-bottom: env(safe-area-inset-bottom);
}
.pb-safe-area-plus {
padding-bottom: calc(10vh + env(safe-area-inset-bottom));
}
.active > .icon-outline {
display: none;
}