about summary refs log tree commit diff
path: root/app/helpers/accounts_helper.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:10:17 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:17:28 +0200
commitb3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (patch)
treeb86f8a8f5800bc99f3634c68f798a122bb91aaf4 /app/helpers/accounts_helper.rb
parent188c6f326b991793239c47751ef45226c0cd8890 (diff)
Fix most pages on small screens
Diffstat (limited to 'app/helpers/accounts_helper.rb')
-rw-r--r--app/helpers/accounts_helper.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb
index 8d303cb63..23eec6c67 100644
--- a/app/helpers/accounts_helper.rb
+++ b/app/helpers/accounts_helper.rb
@@ -1,5 +1,10 @@
 module AccountsHelper
   def pagination_options
-    { previous_label: "#{fa_icon('chevron-left')} Prev".html_safe, next_label: "Next #{fa_icon('chevron-right')}".html_safe, inner_window: 2 }
+    {
+      previous_label: "#{fa_icon('chevron-left')} Prev".html_safe,
+      next_label: "Next #{fa_icon('chevron-right')}".html_safe,
+      inner_window: 1,
+      outer_window: 0
+    }
   end
 end