summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-01-20 17:03:43 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-01-20 17:03:43 +0100
commit34a4ff0cefedddc5ec6ddcd7ea80ce98fcf4177b (patch)
tree9308f164d8f2aa08ccfe9744b07d78c7792f2cd3 /misc
parenteacde082a557301286f2f6103011863db6752b76 (diff)
Tweak logo max width on the web editor
The logo's maximum width is now dependent on the viewport height in addition to the page width. This prevents the "Start Godot editor" button from overflowing the page on mobile devices (although the "Clear persistent data" and "Web editor documentation" buttons will still overflow for now).
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/html/editor.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dist/html/editor.html b/misc/dist/html/editor.html
index a681a2a1c3..87b5c77d3c 100644
--- a/misc/dist/html/editor.html
+++ b/misc/dist/html/editor.html
@@ -270,7 +270,7 @@
<div id="tab-loader">
<div style="color: #e0e0e0;" id="persistence">
<br />
- <img src="logo.svg" alt="Godot Engine logo" width="1024" height="414" style="width: auto; height: auto; max-width: 85%; max-height: 250px" />
+ <img src="logo.svg" alt="Godot Engine logo" width="1024" height="414" style="width: auto; height: auto; max-width: min(85%, 50vh); max-height: 250px" />
<br />
@GODOT_VERSION@
<br />