0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 00:14:53 +01:00
gitea/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
commit_status.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl
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
graph.tmpl
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
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
watchers.tmpl