diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-13 11:24:03 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-13 11:24:29 +0100 |
commit | b24b3d21e1d4999e03d4e268261bd190c6d02441 (patch) | |
tree | b314b480dfc1997a19282beca12a507913cf54a0 | |
parent | 0927af40c36083f95c5833971e07646f63d073cc (diff) | |
download | volse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.tar.gz volse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.tar.bz2 volse-hubzilla-b24b3d21e1d4999e03d4e268261bd190c6d02441.zip |
dropdown position fixes
-rw-r--r-- | view/css/bootstrap-red.css | 3 | ||||
-rwxr-xr-x | view/tpl/photo_view.tpl | 4 |
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> {{$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> {{$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}} |