0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 18:42:49 +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
diff
editor
issue
pulls
release
settings word-break the WebHook url to prevent a ui-break (#5432) 2018-11-30 09:52:05 -05:00
wiki
activity.tmpl
bare.tmpl
branch_dropdown.tmpl
commit_status.tmpl
commits_table.tmpl
commits.tmpl
create.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
migrate.tmpl
search.tmpl
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl