aboutsummaryrefslogtreecommitdiffstats
path: root/templates/devtest
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-10-16 16:15:15 +0800
committerGitHub <noreply@github.com>2023-10-16 16:15:15 +0800
commit21c3513d494724d7262c746836dd3258e225b44f (patch)
tree99c01a821bce4a66824f30d009a07ad7aad372bd /templates/devtest
parent8cf7548a182f4d0615c903b8f4b36a1dbdb63bcf (diff)
downloadgitea-21c3513d494724d7262c746836dd3258e225b44f.tar.gz
gitea-21c3513d494724d7262c746836dd3258e225b44f.zip
Improve dropdown button alignment and fix hover bug (#27632) (#27637)
Backport #27632 by @wxiaoguang 1. fix #27631 , and add samples to devtest page 2. fix incorrect color for "ui dropdown button" when hover Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/devtest')
-rw-r--r--templates/devtest/gitea-ui.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/devtest/gitea-ui.tmpl b/templates/devtest/gitea-ui.tmpl
index fa74ed7ce6..73293ddf48 100644
--- a/templates/devtest/gitea-ui.tmpl
+++ b/templates/devtest/gitea-ui.tmpl
@@ -250,6 +250,15 @@
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
</div>
</div>
+
+ <div>
+ <hr>
+ <div class="ui tiny button">Button align with ...</div>
+ <div class="ui dropdown tiny button">
+ <span class="text">... Dropdown Button</span>
+ {{svg "octicon-triangle-down" 14 "dropdown icon"}}
+ </div>
+ </div>
</div>
<div>