mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-09 14:37:36 +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
|
from sqlalchemy.sql.expression import func
|
||||||
|
|
||||||
|
|
||||||
PKGS_PER_ROW = 5
|
PKGS_PER_ROW = 4
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/gamejam/")
|
@bp.route("/gamejam/")
|
||||||
|
@ -269,9 +269,9 @@ pre {
|
|||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-250px {
|
.grid-300px {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
}
|
}
|
||||||
|
|
||||||
.gap-2 {
|
.gap-2 {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=3">
|
<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" />
|
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||||
|
|
||||||
{% if noindex -%}
|
{% if noindex -%}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro render_pkggrid(packages, show_author=True) -%}
|
{% 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 %}
|
{% for p in packages %}
|
||||||
{{ render_pkgtile(p, show_author) }}
|
{{ render_pkgtile(p, show_author) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user