diff options
author | silverwind <me@silverwind.io> | 2023-04-26 06:09:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 00:09:29 -0400 |
commit | 75e35fb03a86e66fbddda30ef2b4d2df892d2b11 (patch) | |
tree | 8314a260e9ec4b4b380b700962e03766f71a92c9 /templates/shared | |
parent | f2f0fb43e04c577d001da453f994d232505f3e6b (diff) | |
download | gitea-75e35fb03a86e66fbddda30ef2b4d2df892d2b11.tar.gz gitea-75e35fb03a86e66fbddda30ef2b4d2df892d2b11.zip |
Fix runner button height (#24338)
Fixes https://github.com/go-gitea/gitea/issues/24326.
Set size class and downsize any such buttons that have a dropdown icon
because the dropdown icon increases button height artificially.
[`:has()`](https://developer.mozilla.org/en-US/docs/Web/CSS/:has) is not
supported in Firefox yet, but works fine with the experimental pref
enabled. I see this as a graceful degradation in unsupporting browsers.
Diffstat (limited to 'templates/shared')
-rw-r--r-- | templates/shared/actions/runner_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/actions/runner_list.tmpl b/templates/shared/actions/runner_list.tmpl index 536ae6b066..572bc5e34a 100644 --- a/templates/shared/actions/runner_list.tmpl +++ b/templates/shared/actions/runner_list.tmpl @@ -4,7 +4,7 @@ {{.locale.Tr "actions.runners.runner_manage_panel"}} ({{.locale.Tr "admin.total" .Total}}) <div class="ui right"> <div class="ui top right pointing dropdown"> - <button class="ui button primary"> + <button class="ui primary tiny button"> {{.locale.Tr "actions.runners.new"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}} </button> |