This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch feat/1.7.0/quicklinks
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
The following commit(s) were added to refs/heads/feat/1.7.0/quicklinks by this
push:
new 3ec5531 fix: update link_text classs
3ec5531 is described below
commit 3ec5531152e928b5eef67368b880f8979a4a2cdb
Author: shuai <[email protected]>
AuthorDate: Thu Aug 21 15:14:10 2025 +0800
fix: update link_text classs
---
README.md | 2 +-
quick-links/basic.go | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 26310d5..3b9d1d9 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ The Notification plugin helps us to send messages to
third-party notification sy
### Sidebar
-Customize the sidebar tags or link.
+Add custom content on the sidebar navigation
- [x]
[Quicklinks](https://github.com/apache/answer-plugins/tree/main/quick-links)
diff --git a/quick-links/basic.go b/quick-links/basic.go
index a04cf2a..7e70bb1 100644
--- a/quick-links/basic.go
+++ b/quick-links/basic.go
@@ -23,6 +23,7 @@ package quick_links
import (
"embed"
"encoding/json"
+
"github.com/apache/answer-plugins/quick-links/i18n"
"github.com/apache/answer-plugins/util"
"github.com/apache/answer/plugin"
@@ -71,7 +72,8 @@ func (e *QuickLinks) ConfigFields() []plugin.ConfigField {
Description:
plugin.MakeTranslator(i18n.ConfigLinksDescription),
Value: e.Config.LinksText,
UIOptions: plugin.ConfigFieldUIOptions{
- Rows: "5",
+ Rows: "5",
+ ClassName: "small font-monospace",
},
},
}