]> source.dussan.org Git - gitea.git/commit
Fix Fomantic's line-height causing vertical scrollbars to appear (#26961)
authorKerwin Bryant <kerwin612@qq.com>
Wed, 13 Sep 2023 09:08:45 +0000 (17:08 +0800)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 09:08:45 +0000 (09:08 +0000)
commita38eca3f52f691667f8075263badffba4e9b97ae
tree50e656dca8d99f4c45e9ff5b26fea49059c5dbd8
parent0989f437df8d006a6acb13fe14e1ed05445582c9
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
web_src/css/base.css