mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-20 14:35:05 +00:00
Less spacing on zapthreads comments on community feeds messages
This commit is contained in:
parent
e62c5d97ba
commit
ddb16df8ce
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useRef } from 'react';
|
import React, { useEffect, useRef } from 'react';
|
||||||
|
|
||||||
const ZapThreadsWrapper = ({ anchor, user, relays, disable }) => {
|
const ZapThreadsWrapper = ({ anchor, user, relays, disable, className }) => {
|
||||||
// Create a ref to store the reference to the <div> element
|
// Create a ref to store the reference to the <div> element
|
||||||
const zapRef = useRef(null);
|
const zapRef = useRef(null);
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ const ZapThreadsWrapper = ({ anchor, user, relays, disable }) => {
|
|||||||
}, [anchor, user, relays, disable]);
|
}, [anchor, user, relays, disable]);
|
||||||
|
|
||||||
// Render a <div> element and attach the zapRef to it
|
// Render a <div> element and attach the zapRef to it
|
||||||
return <div className="overflow-x-hidden" ref={zapRef} />;
|
return <div className={`overflow-x-hidden ${className || ''}`} ref={zapRef} />;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default ZapThreadsWrapper;
|
export default ZapThreadsWrapper;
|
@ -86,6 +86,11 @@ const CommunityMessage = ({ message, searchQuery, windowWidth, platform }) => {
|
|||||||
collapsed={collapsed}
|
collapsed={collapsed}
|
||||||
onToggle={(e) => setCollapsed(e.value)}
|
onToggle={(e) => setCollapsed(e.value)}
|
||||||
className="w-full"
|
className="w-full"
|
||||||
|
pt={{
|
||||||
|
content: {
|
||||||
|
className: 'p-4 py-0'
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<div className="max-w-[100vw]">
|
<div className="max-w-[100vw]">
|
||||||
{nsec || npub ? (
|
{nsec || npub ? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user