diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-10-16 15:26:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 07:26:08 +0000 |
commit | 6c501b149809a7015e58d9627e84bfd593702f95 (patch) | |
tree | c10d800c6463fc8dad7eb17592283a33191bf661 /templates/devtest/gitea-ui.tmpl | |
parent | d1f85525d092dae5091e21a9fae142afdcc7d15e (diff) | |
download | gitea-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.tmpl | 9 |
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> |