aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-13 11:24:03 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-13 11:24:29 +0100
commitb24b3d21e1d4999e03d4e268261bd190c6d02441 (patch)
treeb314b480dfc1997a19282beca12a507913cf54a0 /view
parent0927af40c36083f95c5833971e07646f63d073cc (diff)
downloadvolse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.tar.gz
volse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.tar.bz2
volse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.zip
dropdown position fixes
Diffstat (limited to 'view')
-rw-r--r--view/css/bootstrap-red.css3
-rwxr-xr-xview/tpl/photo_view.tpl4
2 files changed, 3 insertions, 4 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css
index b68517e25..cea911440 100644
--- a/view/css/bootstrap-red.css
+++ b/view/css/bootstrap-red.css
@@ -60,8 +60,7 @@ aside .nav-pills > li > a,
padding: 6px 10px;
}
-.wall-item-tools .dropdown-menu,
-.section-title-wrapper .dropdown-menu {
+.wall-item-tools .dropdown-menu {
min-width: auto;
}
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index db5ffe3f5..967abea71 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -7,7 +7,7 @@
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-caret-down"></i>&nbsp;{{$tools_label}}
</button>
- <ul class="dropdown-menu">
+ <ul class="dropdown-menu dropdown-menu-right">
{{if $tools}}
<li class="nav-item">
<a class="nav-link" href="{{$tools.profile.0}}"><i class="fa fa-user"></i>&nbsp;{{$tools.profile.1}}</a>
@@ -32,7 +32,7 @@
{{if $lock}}
<div class="btn-group">
<button id="lockview" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" title="{{$lock}}" onclick="lockview('photo',{{$id}});" ><i class="fa fa-lock"></i></button>
- <ul id="panel-{{$id}}" class="lockview-panel dropdown-menu"></ul>
+ <ul id="panel-{{$id}}" class="lockview-panel dropdown-menu dropdown-menu-right"></ul>
</div>
{{/if}}
{{if $prevlink || $nextlink}}