From fb39951d2ae4be42c3d2cb4488b55978906b128b Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Wed, 13 Mar 2024 22:41:41 -0600 Subject: [PATCH] chore(docs): relocating the edit page button a tad. (#27486) --- docs/src/theme/DocItem/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/theme/DocItem/index.js b/docs/src/theme/DocItem/index.js index d0852d35b9..74f331a2b0 100644 --- a/docs/src/theme/DocItem/index.js +++ b/docs/src/theme/DocItem/index.js @@ -22,8 +22,8 @@ import DocItem from '@theme-original/DocItem'; const EditPageLink = styled('a')` position: fixed; - bottom: 20px; - right: 20px; + bottom: 40px; + right: 10px; padding: 1rem; padding-left: 4rem; background-color: #444; @@ -37,6 +37,7 @@ const EditPageLink = styled('a')` bpx-shadow: 0 0 0 0 rgba(0,0,0,0); /* Smooth transition for hover effect */ scale: .9; transition: all 0.3s; + transform-origin: bottom right; &:hover { background-color: #333;