view_ip.html: change style

This commit is contained in:
Zankaria 2025-02-17 00:03:58 +01:00
parent 2bb7611c5e
commit 7a28ea552d

View File

@ -135,7 +135,7 @@
{% endif %} {% endif %}
{{ include('mod/user_posts_list.html', {posts: posts}) }} {{ include('mod/user_posts_list.html', {posts: posts}) }}
<div class="pages" style="margin-left: 50%"> <div class="pages" style="display:flex;justify-content:center;align-items:center;width:fit-content;margin:5px auto;">
<a href="?/user_posts/ip/{{ ip }}">[Page 1]</a> <a href="?/user_posts/ip/{{ ip }}">[Page 1]</a>
{% if cursor_prev %} {% if cursor_prev %}
<a href="?/user_posts/ip/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a> <a href="?/user_posts/ip/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a>