mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-18 11:13:30 +00:00
updated design consistency
This commit is contained in:
parent
eae708e07c
commit
43366ea623
@ -6,12 +6,14 @@ import PlusIcon from '@assets/icons/Plus';
|
|||||||
|
|
||||||
export default function NavigatorBar() {
|
export default function NavigatorBar() {
|
||||||
return (
|
return (
|
||||||
<div className="flex h-full flex-col flex-wrap justify-between overflow-hidden px-2 pt-12 pb-4">
|
<div className="flex h-full flex-col flex-wrap justify-between overflow-hidden px-2 pt-3 pb-4">
|
||||||
{/* main */}
|
{/* main */}
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
{/* Create post */}
|
{/* Create post */}
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2 rounded-lg bg-zinc-900 ring-1 ring-white/10">
|
||||||
<CreatePost />
|
<div className="p-2">
|
||||||
|
<CreatePost />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* Newsfeed */}
|
{/* Newsfeed */}
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
|
@ -4,7 +4,7 @@ import Image from 'next/image';
|
|||||||
export default function ImageCard({ data }: { data: object }) {
|
export default function ImageCard({ data }: { data: object }) {
|
||||||
return (
|
return (
|
||||||
<div className={`relative mt-2 flex flex-col overflow-hidden`}>
|
<div className={`relative mt-2 flex flex-col overflow-hidden`}>
|
||||||
<div className="relative h-full w-2/3 rounded-lg border border-zinc-800">
|
<div className="relative h-full w-full rounded-lg border border-zinc-800">
|
||||||
<Image
|
<Image
|
||||||
src={data['image']}
|
src={data['image']}
|
||||||
alt={data['image']}
|
alt={data['image']}
|
||||||
|
@ -49,7 +49,7 @@ export function Thread({ data }: { data: any }) {
|
|||||||
}}
|
}}
|
||||||
overscan={800}
|
overscan={800}
|
||||||
increaseViewportBy={1000}
|
increaseViewportBy={1000}
|
||||||
className="scrollbar-hide relative h-full w-full"
|
className="scrollbar-hide relative h-full w-full rounded-lg"
|
||||||
style={{
|
style={{
|
||||||
contain: 'strict',
|
contain: 'strict',
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user