1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00
This commit is contained in:
muerwre 2019-07-30 05:21:11 +07:00
parent c67107bd95
commit 809c08456b
3 changed files with 5 additions and 4 deletions

View file

@ -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);

View file

@ -18,13 +18,13 @@
&:global(.logo) {
height: (54px * 1.5) + $gap / 2;
background: white;
background: $red_gradient;
background-size: 140px;
font-weight: 600;
font-size: 14px;
text-align: center;
box-shadow: inset #111111 0 -1px, inset #222222 0 1px;
color: black;
color: white;
display: flex;
align-items: center;
justify-content: center;