1
0
Fork 0
forgejo/templates/repo
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
..
branch Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
diff Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
editor Fix file edit change preview functionality (#5300) 2018-11-09 14:05:43 +02:00
issue Milestone issues and pull requests (#5293) 2018-11-29 09:46:30 +08:00
pulls Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
release Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
settings word-break the WebHook url to prevent a ui-break (#5432) 2018-11-30 09:52:05 -05:00
wiki Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
activity.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
bare.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
create.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
home.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
migrate.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
user_cards.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
view_file.tmpl Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
view_list.tmpl Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00