forked from gitea/gitea
1
0
Fork 0
gitea/templates
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
..
admin Allow admin toggle forcing a password change for newly created users (#4563) 2018-09-13 12:34:36 -04:00
base Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Fix missing AppSubUrl in some templates (#5020) 2018-10-05 20:22:33 +03:00
mail Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
org Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
pwa Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
repo word-break the WebHook url to prevent a ui-break (#5432) 2018-11-30 09:52:05 -05:00
status Add gitea/issues link to 500 page (#4654) 2018-08-11 13:04:43 -04:00
swagger Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
user Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00
home.tmpl Fix home page template regression (#5102) 2018-10-18 21:07:30 +08:00
install.tmpl Remove the required class from optional ssh port in installation page (#5428) 2018-11-29 18:47:57 +02:00