Skip to content

Commit

Permalink
[UI] Fix Overflow For Pygame Button (hedyorg#3964)
Browse files Browse the repository at this point in the history
Fixes hedyorg#3963,
Now the scroll bar will only be visible when the buttons do not fit anymore.

when it does fit:
![image](https://user-images.githubusercontent.com/48225550/213882811-2ebbca4d-5075-4e9b-8077-86a789c7d204.png)
when it does not fit:
![image](https://user-images.githubusercontent.com/48225550/213882854-a6c3e0b2-b518-4d5c-80c0-77a18452b9cf.png)
  • Loading branch information
ToniSkulj authored Jan 23, 2023
1 parent cb919ed commit c9c2c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/incl-editor-and-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
</div>
</div>
</div>
<div id="dynamic-buttons" class="flex mt-3 gap-2 overflow-x-scroll border-4 border-blue-600 rounded bg-blue-300 py-2 px-3" style="display: none">
<div id="dynamic-buttons" class="flex mt-3 gap-2 overflow-auto border-4 border-blue-600 rounded bg-blue-300 py-2 px-3" style="display: none">
</div>
</div>
<!-- Col 2: run button (move below editor in single-column layout), level buttons -->
Expand Down

0 comments on commit c9c2c8e

Please sign in to comment.