Skip to content

Commit da69b6d

Browse files
committedApr 6, 2024
theme-game 微调
1 parent 274f49d commit da69b6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎themes/game/components/GameEmbed.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,24 @@ export default function GameEmbed({ post, siteInfo }) {
9898
<Draggable stick='left'>
9999
<div
100100
style={{ left: '0px', top: '1rem' }}
101-
className='fixed xl:hidden group space-x-1 flex items-center z-20 pr-3 pl-1 bg-[#202030] rounded-r-2xl shadow-lg '>
101+
className='text-white fixed xl:hidden group space-x-1 flex items-center z-20 pr-3 pl-1 bg-[#202030] rounded-r-2xl shadow-lg '>
102102
<Link
103103
href='/'
104104
className='px-1 py-3 hover:scale-125 duration-200 transition-all'
105105
passHref>
106-
<i className='fas fa-arrow-left' />
106+
<i className='fas fa-chevron-left' />
107107
</Link>{' '}
108108
<span
109-
className='text-white font-serif'
109+
className='font-serif px-1'
110110
onClick={() => {
111111
document.querySelector('.game-info').scrollIntoView({
112112
behavior: 'smooth',
113-
block: 'end',
113+
block: 'start',
114114
inline: 'nearest'
115115
})
116116
}}>
117117
{/* Title首字母 */}
118-
{siteInfo?.title?.charAt(0)}
118+
<i className='fas fa-info' />
119119
</span>
120120
</div>
121121
</Draggable>

0 commit comments

Comments
 (0)
Please sign in to comment.