]> source.dussan.org Git - gitea.git/commit
Fix runner button height (#24338)
authorsilverwind <me@silverwind.io>
Wed, 26 Apr 2023 04:09:29 +0000 (06:09 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 04:09:29 +0000 (00:09 -0400)
commit75e35fb03a86e66fbddda30ef2b4d2df892d2b11
tree8314a260e9ec4b4b380b700962e03766f71a92c9
parentf2f0fb43e04c577d001da453f994d232505f3e6b
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.
templates/shared/actions/runner_list.tmpl
web_src/css/base.css