aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-18 08:55:49 +0000
committerMario <mario@mariovavti.com>2021-06-18 08:55:49 +0000
commitf4f9ccc3b234eaadf29b3f5c8bec6e19de0aa761 (patch)
treeb87d87381af0299690790ac371d093e5fd8784f7 /view
parenta84cec4acddf6804a88fcda52e4437c91785dfb2 (diff)
downloadvolse-hubzilla-f4f9ccc3b234eaadf29b3f5c8bec6e19de0aa761.tar.gz
volse-hubzilla-f4f9ccc3b234eaadf29b3f5c8bec6e19de0aa761.tar.bz2
volse-hubzilla-f4f9ccc3b234eaadf29b3f5c8bec6e19de0aa761.zip
css fixes
Diffstat (limited to 'view')
-rw-r--r--view/pdl/mod_hq.pdl6
-rw-r--r--view/tpl/hq_controls.tpl4
-rw-r--r--view/tpl/messages_widget.tpl3
3 files changed, 8 insertions, 5 deletions
diff --git a/view/pdl/mod_hq.pdl b/view/pdl/mod_hq.pdl
index ff44b2df9..e078773f0 100644
--- a/view/pdl/mod_hq.pdl
+++ b/view/pdl/mod_hq.pdl
@@ -1,7 +1,8 @@
[region=aside]
[widget=messages][/widget]
[widget=hq_controls]
- [var=class]d-none d-lg-block[/var]
+ [var=wrapper_class]d-none d-lg-block[/var]
+ [var=entry_class]btn-outline-primary[/var]
[/widget]
[/region]
[region=content]
@@ -11,7 +12,8 @@
[/widget]
$content
[widget=hq_controls]
- [var=class]hq_controls_fixed_bottom_center d-lg-none[/var]
+ [var=wrapper_class]hq_controls_fixed_bottom_center d-lg-none[/var]
+ [var=entry_class]btn-primary shadow[/var]
[/widget]
[/region]
[region=right_aside]
diff --git a/view/tpl/hq_controls.tpl b/view/tpl/hq_controls.tpl
index 87accb5e0..333e21863 100644
--- a/view/tpl/hq_controls.tpl
+++ b/view/tpl/hq_controls.tpl
@@ -1,6 +1,6 @@
-<div class="d-grid gap-2 mb-3{{if $wrapper_class}} {{$wrapper_class}}{{/if}}">
+<div class="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}}>
+ <button id="{{$e.id}}" class="{{$e.class}} rounded-circle mr-1{{if $entry_class}} {{$entry_class}}{{/if}}" type="{{$e.type}}" title="{{$e.label}}"{{if $e.extra}} {{$e.extra}}{{/if}}>
{{if $e.icon}}<i class="fa fa-{{$e.icon}}"></i>{{/if}}
</button>
{{/foreach}}
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index d3dbd7be9..6670faa60 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -61,7 +61,7 @@
$('#messages-widget').on('scroll', function() {
if(this.scrollTop > this.scrollHeight - this.clientHeight - (this.scrollHeight/7)) {
- get_messages_page('hq');
+ get_messages_page();
}
});
@@ -79,6 +79,7 @@
$('.message[data-b64mid=\'' + bParam_mid + '\']').addClass('active');
function get_messages_page() {
+
if (get_messages_page_active)
return;