various improvements
This commit is contained in:
@@ -5,6 +5,8 @@ import { memo } from "react";
|
||||
|
||||
interface SettingButtonProps {
|
||||
to: string;
|
||||
top?: number;
|
||||
right?: number;
|
||||
}
|
||||
|
||||
const SettingsButton = ({ to }: SettingButtonProps) => {
|
||||
@@ -15,8 +17,8 @@ const SettingsButton = ({ to }: SettingButtonProps) => {
|
||||
style={{ cursor: 'pointer', zIndex: 1000 }}
|
||||
onClick={() => navigate({ to })}
|
||||
pos='absolute'
|
||||
right={16}
|
||||
top={0}
|
||||
right={20}
|
||||
top={6}
|
||||
>
|
||||
<GearIcon weight='bold' size={20} />
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user