mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 21:45:41 +08:00
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.
This commit is contained in:
parent
04890904f9
commit
7fd22bea1e
|
@ -39,7 +39,7 @@
|
||||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu dropdown-menu-right">
|
||||||
<div class="dropdown-item text-left to-unwatch">
|
<div class="dropdown-item text-left to-unwatch">
|
||||||
<h4 role="presentation" class="dropdown-header {{if not .IsRepositoryWatching}}text-primary{{end}}">Not Watching</h4>
|
<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>
|
<p class="description">You only receive notifications for conversations in which you participate or are @mentioned.</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user