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:03 +0100 |
commit | 556e507f68062f474f617b8f2d6e10d483d6ba9a (patch) | |
tree | bd3dfbb25c024f562340c448577f871dcf320b2f /view | |
parent | 29bf6e5d3275925e57f9aa8d71910b7038d91191 (diff) | |
download | volse-hubzilla-556e507f68062f474f617b8f2d6e10d483d6ba9a.tar.gz volse-hubzilla-556e507f68062f474f617b8f2d6e10d483d6ba9a.tar.bz2 volse-hubzilla-556e507f68062f474f617b8f2d6e10d483d6ba9a.zip |
dropdown position fixes
Diffstat (limited to 'view')
-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}} |