Hide extra button twitter embeded
This commit is contained in:
parent
ac10c1ac64
commit
cfde9f886a
@ -91,7 +91,12 @@ const Testimonial = () => {
|
|||||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 text-left">
|
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 text-left">
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
{firstColumn.map((item, i) => {
|
{firstColumn.map((item, i) => {
|
||||||
if (item.type === 'tweet') return <Tweet key={i} id={item.id} />
|
if (item.type === 'tweet')
|
||||||
|
return (
|
||||||
|
<div className="tweet-wrapper">
|
||||||
|
<Tweet key={i} id={item.id} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
if (item.type === 'youtube')
|
if (item.type === 'youtube')
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -111,7 +116,12 @@ const Testimonial = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
{secondColumn.map((item, i) => {
|
{secondColumn.map((item, i) => {
|
||||||
if (item.type === 'tweet') return <Tweet key={i} id={item.id} />
|
if (item.type === 'tweet')
|
||||||
|
return (
|
||||||
|
<div className="tweet-wrapper">
|
||||||
|
<Tweet key={i} id={item.id} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
if (item.type === 'youtube')
|
if (item.type === 'youtube')
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -131,7 +141,12 @@ const Testimonial = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
{thirdColumn.map((item, i) => {
|
{thirdColumn.map((item, i) => {
|
||||||
if (item.type === 'tweet') return <Tweet key={i} id={item.id} />
|
if (item.type === 'tweet')
|
||||||
|
return (
|
||||||
|
<div className="tweet-wrapper">
|
||||||
|
<Tweet key={i} id={item.id} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
if (item.type === 'youtube')
|
if (item.type === 'youtube')
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -151,7 +166,12 @@ const Testimonial = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
{fourthColumn.map((item, i) => {
|
{fourthColumn.map((item, i) => {
|
||||||
if (item.type === 'tweet') return <Tweet key={i} id={item.id} />
|
if (item.type === 'tweet')
|
||||||
|
return (
|
||||||
|
<div className="tweet-wrapper">
|
||||||
|
<Tweet key={i} id={item.id} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
if (item.type === 'youtube')
|
if (item.type === 'youtube')
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -156,11 +156,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions_node_modules-react-tweet-dist-twitter-theme-tweet-actions-module,
|
.tweet-wrapper {
|
||||||
.authorFollow_node_modules-react-tweet-dist-twitter-theme-tweet-header-module {
|
[class*='actions_'] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
[class*='.authorFollow_'] {
|
||||||
.replies_node_modules-react-tweet-dist-twitter-theme-tweet-replies-module {
|
display: none !important;
|
||||||
|
}
|
||||||
|
[class*='replies_'] {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user