learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

Code block width doesn’t adjust with increased text size

Open SriramAnanth2912 opened this issue 2 months ago • 2 comments

Describe the bug In 10. The Game Loop, the width of the div are not increasing with increase in text size

To Reproduce Steps to reproduce the bug:

  1. Change the text size and observe the code snippets.

Expected behavior The boxes should change its width along the text size of the code inside.

Screenshots Image

Information about your device (please complete the following information):

  • Operating System: Linux Ubuntu 22.04.5 LTS
  • Browser: Chrome Version 139.0.7258.154 (Official Build) (64-bit)

Additional context Add any other context about the problem here.

Probable Solution: Increase the widths of code boxes and interactive sessions, and entire paragraphs so there is no disparity in the text sizes and the div widths.

SriramAnanth2912 avatar Oct 17 '25 10:10 SriramAnanth2912

Thanks for taking the time to record this. Note this is a Godot webgl application and not a website using HTML and CSS.

If you haven't tried already, could you please try opening that lesson again in a different web browser or browser version, or possibly clearing the cache? I cannot replicate the issue on my end unfortunately.

NathanLovato avatar Oct 18 '25 19:10 NathanLovato

Information about your device (please complete the following information):

Operating System: Windows 11 Browser: Chrome Version 141.0.7390.78 (Official Build) (64-bit)

Screenshots Image

Image

It has the same effect.

SriramAnanth2912 avatar Oct 18 '25 21:10 SriramAnanth2912