diff options
author | Jason <j20@users.noreply.github.com> | 2014-05-18 15:57:02 -0500 |
---|---|---|
committer | Jason <j20@users.noreply.github.com> | 2014-05-18 15:57:02 -0500 |
commit | 7fd22bea1ee7c305418572edbf709442b9e0982f (patch) | |
tree | 33c0a38845376366de71edc20d4056880ceac739 /templates/repo/nav.tmpl | |
parent | 04890904f9896f181a6a847d036da20611448a16 (diff) | |
download | gitea-7fd22bea1ee7c305418572edbf709442b9e0982f.tar.gz gitea-7fd22bea1ee7c305418572edbf709442b9e0982f.zip |
Add dropdown-menu-right class to the repo-watching dropdown
The dropdown menu was dropping down to the right and appearing outside of the page container. This made it not visible at smaller browser widths.
This commit makes it drop down into the page container, instead of out, and keeps it visible at all screen sizes.
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r-- | templates/repo/nav.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index 48fe31a619..70e1745fff 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -39,7 +39,7 @@ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> - <div class="dropdown-menu"> + <div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-item text-left to-unwatch"> <h4 role="presentation" class="dropdown-header {{if not .IsRepositoryWatching}}text-primary{{end}}">Not Watching</h4> <p class="description">You only receive notifications for conversations in which you participate or are @mentioned.</p> |