Skip to content

Conversation

@toqaalaa20
Copy link

Adjusted the background width calculation to ensure it accommodates the content appropriately. Specifically, the width is now set to the maximum of:

  • The predefined width specified in the script arguments
  • The actual width of the generated text
    This change prevents clipping or misalignment issues when the text exceeds the predefined width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant