You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2024/03/12 23:04:34 UTC

(superset) branch moving-edit-button-on-docs created (now f54438221d)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch moving-edit-button-on-docs
in repository https://gitbox.apache.org/repos/asf/superset.git


      at f54438221d chore(docs): relocating the edit page button a tad.

This branch includes the following new commits:

     new f54438221d chore(docs): relocating the edit page button a tad.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: chore(docs): relocating the edit page button a tad.

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch moving-edit-button-on-docs
in repository https://gitbox.apache.org/repos/asf/superset.git

commit f54438221d265c83c29c44e3bf813f34437fc8d5
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Tue Mar 12 17:04:19 2024 -0600

    chore(docs): relocating the edit page button a tad.
---
 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;