This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new ea9cd9536172 Polish version switch on desktop (#719)
ea9cd9536172 is described below
commit ea9cd9536172af31ccc72ecb955673f59f79468a
Author: Suyan <[email protected]>
AuthorDate: Mon Oct 23 14:02:45 2023 +0800
Polish version switch on desktop (#719)
Signed-off-by: Suyan <[email protected]>
---
src/theme/DocSidebar/Desktop/styles.module.css | 2 +-
src/theme/DocSidebar/Mobile/styles.module.css | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/theme/DocSidebar/Desktop/styles.module.css
b/src/theme/DocSidebar/Desktop/styles.module.css
index be1391404efc..153687455813 100644
--- a/src/theme/DocSidebar/Desktop/styles.module.css
+++ b/src/theme/DocSidebar/Desktop/styles.module.css
@@ -53,7 +53,7 @@
}
.sidebarVersionSwitch a {
- display: inline-block;
+ cursor: pointer;
}
.sidebarVersionSwitch div {
diff --git a/src/theme/DocSidebar/Mobile/styles.module.css
b/src/theme/DocSidebar/Mobile/styles.module.css
index 9527b6eae819..fcaaf920f6f9 100644
--- a/src/theme/DocSidebar/Mobile/styles.module.css
+++ b/src/theme/DocSidebar/Mobile/styles.module.css
@@ -14,10 +14,6 @@
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}
-.sidebarVersionSwitch a {
- display: inline-block;
-}
-
.sidebarVersionSwitch div {
display: inline-block !important;
}