fix: diy按钮位置调整

This commit is contained in:
streakingman 2022-10-05 12:20:03 +08:00
parent eaa56b0070
commit 657422eb4f

View File

@ -61,7 +61,7 @@ export const ThemeChanger: FC<{
style={{ style={{
transform: open transform: open
? `translateY(-${110 * 6}%)` ? `translateY(-${110 * 6}%)`
: 'translateY(-110%)', : 'translateX(-110%)',
}} }}
> >
{open ? '点我整活' : 'DIY!'} {open ? '点我整活' : 'DIY!'}