aboutsummaryrefslogtreecommitdiffstats
path: root/templates/devtest/gitea-ui.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-10-16 15:26:08 +0800
committerGitHub <noreply@github.com>2023-10-16 07:26:08 +0000
commit6c501b149809a7015e58d9627e84bfd593702f95 (patch)
treec10d800c6463fc8dad7eb17592283a33191bf661 /templates/devtest/gitea-ui.tmpl
parentd1f85525d092dae5091e21a9fae142afdcc7d15e (diff)
downloadgitea-6c501b149809a7015e58d9627e84bfd593702f95.tar.gz
gitea-6c501b149809a7015e58d9627e84bfd593702f95.zip
Improve dropdown button alignment and fix hover bug (#27632)
1. fix #27631 , and add samples to devtest page 2. fix incorrect color for "ui dropdown button" when hover
Diffstat (limited to 'templates/devtest/gitea-ui.tmpl')
-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>