Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neuromancer committed Mar 3, 2025
1 parent 6767cd7 commit 691d40a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions mystery_o_matic/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,12 +737,13 @@ def render_locations_language(self, language, outdir):
fontname="Raleway", shape="plaintext", width="0.2", fixedsize="true"
)

if g.number_of_nodes() == 3:
g.node_attr.update(fontsize="12")
elif g.number_of_nodes() == 4:
g.node_attr.update(fontsize="14")
elif g.number_of_nodes() >= 5:
g.node_attr.update(fontsize="16")
if (self.mode == "latex"):
if g.number_of_nodes() == 3:
g.node_attr.update(fontsize="12")
elif g.number_of_nodes() == 4:
g.node_attr.update(fontsize="14")
elif g.number_of_nodes() >= 5:
g.node_attr.update(fontsize="16")

g.layout(prog="dot")
g.draw(outdir + f"/{language}/locations_small.svg")
Expand Down
4 changes: 2 additions & 2 deletions static/en/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ <h4>🎓 Understanding Clues and Making Basic Deductions</h4>
</div>
<br/>
<hr class="styled-hr">
<p>Finally, sometimes we get somehow vague clues from suspects:</p>
<p>Finally, sometimes we get vague clues from suspects:</p>

<p>
<div class="d-flex justify-content-center align-items-center">
Expand Down Expand Up @@ -686,7 +686,7 @@ <h4>🎓 Understanding Clues and Making Basic Deductions</h4>
</p>

<p>
Back to the timeline board..
Back to the timeline board...
</p>


Expand Down

0 comments on commit 691d40a

Please sign in to comment.