mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-25 19:16:01 +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(
|
||||
"genshin/abyss/overview.jinja2",
|
||||
render_data,
|
||||
viewport={"width": 2745, "height": 4000},
|
||||
viewport={"width": 1893, "height": 4000},
|
||||
query_selector=".container",
|
||||
)
|
||||
|
||||
|
@ -97,13 +97,13 @@
|
||||
</div>
|
||||
</div>
|
||||
{% for floor in data.floors %}
|
||||
{% if loop.index % 4 == 1 %}
|
||||
{% if loop.index % 2 == 1 %}
|
||||
<div class="floors_row">
|
||||
{% endif %}
|
||||
{% set floor_num = floor.floor_num %}
|
||||
{% set total_stars = floor.total_stars %}
|
||||
{% 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>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -40,7 +40,7 @@ body {
|
||||
|
||||
.overview {
|
||||
height: 540px;
|
||||
padding: 20px 540px;
|
||||
padding: 20px 240px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
Loading…
Reference in New Issue
Block a user