You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
branch Fix some issues with special chars in branch names (#3767) 6 years ago
diff Restrict permission check on repositories and fix some problems (#5314) 6 years ago
editor Fix file edit change preview functionality (#5300) 6 years ago
issue Milestone issues and pull requests (#5293) 6 years ago
pulls Fix some issues with special chars in branch names (#3767) 6 years ago
release Restrict permission check on repositories and fix some problems (#5314) 6 years ago
settings word-break the WebHook url to prevent a ui-break (#5432) 6 years ago
wiki Restrict permission check on repositories and fix some problems (#5314) 6 years ago
activity.tmpl Restrict permission check on repositories and fix some problems (#5314) 6 years ago
bare.tmpl Restrict permission check on repositories and fix some problems (#5314) 6 years ago
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 6 years ago
commit_status.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 6 years ago
commits.tmpl Responsive view (#2750) 7 years ago
commits_table.tmpl Fix some issues with special chars in branch names (#3767) 6 years ago
create.tmpl Fix typos in i18n variable names. (#4080) 6 years ago
forks.tmpl #3348 always use relative avatar link in the template 8 years ago
graph.tmpl Fix issue link rendering in commit messages (#2897) 7 years ago
header.tmpl Restrict permission check on repositories and fix some problems (#5314) 6 years ago
home.tmpl Restrict permission check on repositories and fix some problems (#5314) 6 years ago
migrate.tmpl Fix typos in i18n variable names. (#4080) 6 years ago
search.tmpl Don't warn users about *every* dirty form (#3707) 6 years ago
sub_menu.tmpl Restrict permission check on repositories and fix some problems (#5314) 6 years ago
user_cards.tmpl Add `noreferrer` to rel='noopener` for <a> tags (#4328) 6 years ago
view_file.tmpl Serve audio files using HTML5 audio tag (#5221) 6 years ago
view_list.tmpl Symlink icons (#1416) (#3826) 6 years ago
watchers.tmpl #1692 APIs: Users Followers 9 years ago