Use position: fixed for footer in error pages to get better positioning in the popup details fram

This commit is contained in:
Jan Böhmer 2024-03-10 00:19:47 +01:00
parent b781150ee9
commit 1af8558cf4
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ ul {
.footer {
box-sizing: border-box;
position: absolute;
position: fixed;
bottom: 0;
width: 100%;
height: 60px;

View file

@ -37,7 +37,7 @@
<li>Run <kbd>php bin/console cache:clear</kbd> to clear cache</li>
</ul>
{% endblock %}
<p>If you think that this is an error in Part-DB, open an Issue on <a href="https://github.com/Part-DB/Part-DB-symfony/issues" rel="noopener">GitHub</a>.</p>
<p>If you think that this is an error in Part-DB, open an Issue on <a href="https://github.com/Part-DB/Part-DB-server/issues" rel="noopener">GitHub</a>.</p>
<p><small>You can disable these hints in <code>config/parameters.yaml</code> by setting <code>partdb.error_pages.show_help</code> to false.</small></p>
</div>
{% endif %}
@ -46,7 +46,7 @@
<footer class="footer">
{% block footer %}
<span class="text-muted">This page was generated by <a href="https://github.com/Part-DB/Part-DB-symfony" rel="noopener">Part-DB</a> on {{ "now" | format_datetime("medium", "short") }} </span>.
<span class="text-muted">This page was generated by <a href="https://github.com/Part-DB/Part-DB-server" rel="noopener">Part-DB</a> on {{ "now" | format_datetime("medium", "short") }} </span>.
{% endblock %}
</footer>
</body>