Skip to content

Commit a4243ca

Browse files
author
Ajit Kumar
committed
fix(sitemap generator and ui fix)
1 parent 7aa4b3a commit a4243ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/components/adsense.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function AdSense({ className = '', name = 'plugin', style = {}, r
3131
<div className={className} style={{ zIndex: '1', ...style }} ref={ref}>
3232
<ins
3333
className='adsbygoogle'
34-
style={{ display: 'block', zIndex: 1 }}
34+
style={{ display: 'block', zIndex: 1, position: 'relative' }}
3535
data-ad-client='ca-pub-5911839694379275'
3636
data-ad-slot={nameMap[name].slot}
3737
data-ad-format='fluid'

client/pages/plugin/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export default async function Plugin({ id: pluginId, section = 'description' })
4949
const selectMonth = Ref();
5050
const $comments = <CommentsContainerAndForm listRef={commentListRef} plugin={plugin} user={user} id={pluginId} userComment={userComment} />;
5151
const $description = (
52-
<article style={{ width: '100%', overflow: 'auto', zIndex: 0 }}>
53-
<AdSense name='readme' style={{ position: 'relative', zIndex: 0 }} />
54-
<p className='md' innerHTML={marked.parse(description)} style={{ zIndex: 1, position: 'relative' }} />
52+
<article style={{ width: '100%', overflow: 'auto' }}>
53+
<AdSense name='readme' style={{ position: 'relative' }} />
54+
<p className='md' innerHTML={marked.parse(description)} />
5555
</article>
5656
);
5757
const updateOrder = () => {

0 commit comments

Comments
 (0)