Fix img formatting on landing page, add clean dump

This commit is contained in:
David Rodenkirchen
2026-05-27 12:36:54 +02:00
parent b31074ffcd
commit 52aa634c97
16 changed files with 27 additions and 8 deletions
+11 -7
View File
@@ -47,14 +47,18 @@ class LandingPageBoxHalf(Component):
stroke_color=self.session.theme.box_border_color,
),
Row(
Rectangle(
content=Image(
from_root(f"src/elm/assets/img/{self.image_name}")
Column(
Rectangle(
content=Image(
from_root(f"src/elm/assets/img/{self.image_name}")
),
stroke_width=0.1,
stroke_color=self.session.theme.box_border_color,
margin_right=1,
min_width=4 if self.session.is_mobile() else 10,
min_height=4 if self.session.is_mobile() else 10,
),
stroke_width=0.1,
stroke_color=self.session.theme.box_border_color,
margin_right=1,
min_width=4 if self.session.is_mobile() else 10
Spacer()
),
Text(
self.article_text,