mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2025-01-09 15:02:17 +00:00
💄 Update abyss challenge data width
This commit is contained in:
parent
585651f7f9
commit
9d769c8d10
@ -178,7 +178,7 @@ class ChallengePlugin(Plugin):
|
||||
for ch in floor_data.node_1.avatars + floor_data.node_2.avatars
|
||||
}
|
||||
buddy_icons = {
|
||||
bu.id: self.assets_service.buddy.square(bu.id).as_uri()
|
||||
bu.id: self.assets_service.buddy.icon(bu.id).as_uri()
|
||||
for bu in [floor_data.node_1.buddy, floor_data.node_2.buddy]
|
||||
if bu
|
||||
}
|
||||
@ -266,7 +266,7 @@ class ChallengePlugin(Plugin):
|
||||
return await self.template_service.render(
|
||||
"zzz/abyss/overview.html",
|
||||
render_data,
|
||||
viewport={"width": 2745, "height": 4000},
|
||||
viewport={"width": 1893, "height": 4000},
|
||||
query_selector=".container",
|
||||
)
|
||||
|
||||
|
@ -43,11 +43,11 @@
|
||||
</div>
|
||||
</div>
|
||||
{% for data in floors %}
|
||||
{% if loop.index % 4 == 1 %}
|
||||
{% if loop.index % 2 == 1 %}
|
||||
<div class="floors_row">
|
||||
{% endif %}
|
||||
{% include "zzz/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 %}
|
||||
|
@ -44,7 +44,7 @@ body {
|
||||
/* 概览 */
|
||||
|
||||
.overview {
|
||||
padding: 20px 540px;
|
||||
padding: 20px 240px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
Loading…
Reference in New Issue
Block a user