diff options
author | Mario <mario@mariovavti.com> | 2021-06-17 12:10:54 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-06-17 12:10:54 +0000 |
commit | 5ca352a6c362ac1b452460ebbb07fbf56bb76417 (patch) | |
tree | ec9cdd1bb5c8de9f35048347ff7ea0dd3428e07a /view | |
parent | a34bd3b013887786f5f958450b4823cfd00cd562 (diff) | |
download | volse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.tar.gz volse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.tar.bz2 volse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.zip |
allow to add a wrapper class to the hq_controls widget
Diffstat (limited to 'view')
-rw-r--r-- | view/css/widgets.css | 9 | ||||
-rw-r--r-- | view/tpl/hq_controls.tpl | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/view/css/widgets.css b/view/css/widgets.css index a677bb457..f9e0770f8 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -242,3 +242,12 @@ a.wikilist { #cid-filter-wrapper { position: relative; } + +/* hq_controls */ +.hq_controls_fixed_bottom_center { + z-index: 1090; + position: fixed; + bottom: 0px; + left: 50%; + transform: translateX(-50%); +} diff --git a/view/tpl/hq_controls.tpl b/view/tpl/hq_controls.tpl index f46b7b298..87accb5e0 100644 --- a/view/tpl/hq_controls.tpl +++ b/view/tpl/hq_controls.tpl @@ -1,4 +1,4 @@ -<div class="d-grid gap-2 mb-3"> +<div class="d-grid gap-2 mb-3{{if $wrapper_class}} {{$wrapper_class}}{{/if}}"> {{foreach $entries as $e}} <button id="{{$e.id}}" class="{{$e.class}} rounded-circle" type="{{$e.type}}" title="{{$e.label}}"{{if $e.extra}} {{$e.extra}}{{/if}}> {{if $e.icon}}<i class="fa fa-{{$e.icon}}"></i>{{/if}} |