Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-size div.slide tags for optimal wrapping #1

Open
nrdvana opened this issue Jul 15, 2023 · 0 comments
Open

Auto-size div.slide tags for optimal wrapping #1

nrdvana opened this issue Jul 15, 2023 · 0 comments

Comments

@nrdvana
Copy link
Owner

nrdvana commented Jul 15, 2023

Currently, the browser decides how wide to make a div.slide tag based on its content. Sometimes the browser chooses to make the slide really wide to accommodate the longest string

  * Really Long Lines Of Text -----------------------------------
  * Another really long line -----------------------------------

Other times it wraps the lines in many places creating a tall column slide. The most visually appealing ratio is usually somewhere in the middle.

  * A long line
    of text that
    wraps too many
    times.
  * Another long
    line of text
    and so on

I want to use javascript to size the slide to various widths and check the visual appeal of the lines that got wrapped, choosing the best one.

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

No branches or pull requests

1 participant