1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-11 08:34:27 +02:00

Optimize ad

This commit is contained in:
Phuoc Nguyen
2021-03-30 15:09:32 +07:00
parent b568a14739
commit 0e5f8059c5
2 changed files with 7 additions and 10 deletions

View File

@@ -33,9 +33,7 @@ const Ad: React.FC<{}> = () => {
}, []);
return (
<div className='flex justify-center mx-4 my-6'>
<div ref={containerRef} />
</div>
);
};

View File

@@ -4,19 +4,18 @@
*/
#carbonads {
background-color: #edf2f7;
padding: 0.5rem;
border: 1px solid rgba(0, 0, 0, .3);
border-radius: 0.5rem;
height: 9rem;
overflow: hidden;
position: relative;
max-width: 24rem;
}
.carbon-wrap {
display: flex;
}
.carbon-img {
margin-right: 0.5rem;
.carbon-text {
padding: 0.5rem;
}
.carbon-poweredby {
bottom: 0;
font-size: 0.75rem;