mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Set homepage row size to 4
This commit is contained in:
parent
98c1cbc769
commit
9eb03c6a57
@ -26,7 +26,7 @@ from sqlalchemy.orm import joinedload, subqueryload
|
||||
from sqlalchemy.sql.expression import func
|
||||
|
||||
|
||||
PKGS_PER_ROW = 5
|
||||
PKGS_PER_ROW = 4
|
||||
|
||||
|
||||
@bp.route("/gamejam/")
|
||||
|
@ -269,9 +269,9 @@ pre {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.grid-250px {
|
||||
.grid-300px {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
|
||||
.gap-2 {
|
||||
|
@ -16,7 +16,7 @@
|
||||
{%- endif %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=3">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=44">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=45">
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||
|
||||
{% if noindex -%}
|
||||
|
@ -38,7 +38,7 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% macro render_pkggrid(packages, show_author=True) -%}
|
||||
<ul class="grid-250px gap-2 p-0">
|
||||
<ul class="grid-300px gap-2 p-0">
|
||||
{% for p in packages %}
|
||||
{{ render_pkgtile(p, show_author) }}
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user