mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 03:25:59 +00:00
💄 Update abyss challenge data width
This commit is contained in:
parent
3a6e0f7fd5
commit
dfa2387786
@ -244,7 +244,7 @@ class AbyssPlugin(Plugin):
|
|||||||
return await self.template_service.render(
|
return await self.template_service.render(
|
||||||
"genshin/abyss/overview.jinja2",
|
"genshin/abyss/overview.jinja2",
|
||||||
render_data,
|
render_data,
|
||||||
viewport={"width": 2745, "height": 4000},
|
viewport={"width": 1893, "height": 4000},
|
||||||
query_selector=".container",
|
query_selector=".container",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -97,13 +97,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% for floor in data.floors %}
|
{% for floor in data.floors %}
|
||||||
{% if loop.index % 4 == 1 %}
|
{% if loop.index % 2 == 1 %}
|
||||||
<div class="floors_row">
|
<div class="floors_row">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set floor_num = floor.floor_num %}
|
{% set floor_num = floor.floor_num %}
|
||||||
{% set total_stars = floor.total_stars %}
|
{% set total_stars = floor.total_stars %}
|
||||||
{% include "genshin/abyss/floor.jinja2" %}
|
{% include "genshin/abyss/floor.jinja2" %}
|
||||||
{% if loop.index % 4 == 0 or loop.index == loop.length %}
|
{% if loop.index % 2 == 0 or loop.index == loop.length %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -40,7 +40,7 @@ body {
|
|||||||
|
|
||||||
.overview {
|
.overview {
|
||||||
height: 540px;
|
height: 540px;
|
||||||
padding: 20px 540px;
|
padding: 20px 240px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user