1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/templates/repo/settings/webhook
romankl 06ef5b68d4 word-break the WebHook url to prevent a ui-break (#5432)
right now, the url is displayed with an anchor tag with no classes. If
the url is really really long, the url will break out of the containing
div and (depending on the url length) the browser shows the horizontal
scrollbar.
This pr makes use of the already existing css class `dont-break-out`
which gives all the anchor the necessary properties to prevent the
break.
Another solution could be to introduce some classes like
`text text-break-word`, but that would duplicate the `dont-break-out`
class just for text elements that use the `text` class.

fixes: https://github.com/go-gitea/gitea/issues/5416
Signed-off-by: Roman <romaaan.git@gmail.com>
2018-11-30 09:52:05 -05:00
..
base.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
delete_modal.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
dingtalk.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
discord.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
gitea.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
gogs.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
history.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
list.tmpl word-break the WebHook url to prevent a ui-break (#5432) 2018-11-30 09:52:05 -05:00
new.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
settings.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
slack.tmpl Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00