You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
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).
This commit is contained in:
2
misc/dist/html/editor.html
vendored
2
misc/dist/html/editor.html
vendored
@@ -270,7 +270,7 @@
|
|||||||
<div id="tab-loader">
|
<div id="tab-loader">
|
||||||
<div style="color: #e0e0e0;" id="persistence">
|
<div style="color: #e0e0e0;" id="persistence">
|
||||||
<br />
|
<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 />
|
<br />
|
||||||
@GODOT_VERSION@
|
@GODOT_VERSION@
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user