This is an automated email from the ASF dual-hosted git repository.
young pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new cccd0469856 fix: doc version dropdown (#1592)
cccd0469856 is described below
commit cccd04698560f66ca987e6af7c19f8d2b3a61ff3
Author: Shantanu Sutar <[email protected]>
AuthorDate: Fri Jun 2 07:00:19 2023 +0530
fix: doc version dropdown (#1592)
Co-authored-by: Young <[email protected]>
---
doc/src/theme/DocSidebar/styles.module.css | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/src/theme/DocSidebar/styles.module.css
b/doc/src/theme/DocSidebar/styles.module.css
index a4988258985..f1a081dc116 100644
--- a/doc/src/theme/DocSidebar/styles.module.css
+++ b/doc/src/theme/DocSidebar/styles.module.css
@@ -7,6 +7,7 @@
:root {
--collapse-button-bg-color-dark: #2e333a;
+ --text-color-primary:#e8433e;
}
@media (min-width: 997px) {
@@ -124,8 +125,18 @@
.sidebarVersionSwitch a {
display: inline-block;
+ pointer-events: none;
+}
+
+.sidebarVersionSwitch ul a {
+ pointer-events:all;
}
.sidebarVersionSwitch div {
display: inline-block !important;
}
+
+.sidebarVersionSwitch div:hover{
+ cursor: pointer;
+ color: var(--text-color-primary);
+}