mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
colors
This commit is contained in:
parent
c67107bd95
commit
809c08456b
3 changed files with 5 additions and 4 deletions
|
@ -13,7 +13,7 @@ export const SidePane: FC<IProps> = ({
|
|||
|
||||
const moveThis = useCallback(() => {
|
||||
const shift = window.innerWidth > (content_width + 64 + 20)
|
||||
? ((window.innerWidth - content_width - 64 - 20) / 2) - 54 + 64
|
||||
? ((window.innerWidth - content_width - 64 - 20) / 2) - 54 + 64 // + content_width + 74
|
||||
: 10;
|
||||
|
||||
setLeft(shift);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue