From a38eca3f52f691667f8075263badffba4e9b97ae Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Wed, 13 Sep 2023 17:08:45 +0800 Subject: Fix Fomantic's line-height causing vertical scrollbars to appear (#26961) Before: ![before](https://github.com/go-gitea/gitea/assets/3371163/bc5a3b20-3490-4e14-ab1d-2fcfbc4a2e20) After: ![after](https://github.com/go-gitea/gitea/assets/3371163/70e8be6a-11a2-46af-9e1e-78ac153cd2a4) --- 1. **Remove the scroll bar exception that in the a tag** 2. **Reduce the actual width of the a tag to the actual width of the content** ![c363a5b5883e105a0c65d7337893b50](https://github.com/go-gitea/gitea/assets/3371163/789d9b83-ad14-46d2-8a1b-df551a063f6a) As shown in the screenshot, the red box area should not be clickable --- templates/repo/settings/webhook/base_list.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/repo/settings') diff --git a/templates/repo/settings/webhook/base_list.tmpl b/templates/repo/settings/webhook/base_list.tmpl index 1bc9447110..b0e8ace410 100644 --- a/templates/repo/settings/webhook/base_list.tmpl +++ b/templates/repo/settings/webhook/base_list.tmpl @@ -60,7 +60,9 @@ {{range .Webhooks}}
{{svg "octicon-dot-fill" 22}} - {{.URL}} +
+ {{.URL}} +
{{svg "octicon-pencil"}} {{svg "octicon-trash"}}
-- cgit v1.2.3