This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
commit 47b165ed2ddce29d5785593b4afc685a23bfec47 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", }, }, }
