question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Revealing text content behind an image (Text wrapping issue)

See original GitHub issue

It appears that there is no built-in way to reveal an image with paragraph content underneath, particularly because of this definition:

.ui.slide.reveal {
    /* ... */
    white-space: nowrap;
}

Which doesn’t allow text in the reveal container to wrap.

I am proposing something such as this:

<div class="ui slide reveal image">
    <img class="visible content" src="..." />
    <div class="hidden text content">
        This is a long paragraph of text that will wrap onto the next line, or maybe the line after it ...
    </div>
</div>

And the definition to complement it:

.ui.slide.reveal > .text.content {
    white-space: normal;
    word-wrap: break-word;
}

Thoughts?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hammy2899commented, May 24, 2018

@qJake Enhancement aren’t exempt from stale bot.

1reaction
qJakecommented, May 24, 2018

@hammy2899 Would you be able to label this so that the stale bot doesn’t remove it? I believe it’s an enhancement?

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

troubleshooting "text wrapping" an image - Microsoft Community
I have a document that includes images, captions and callouts, each of which are 'grouped' together with text written above and below the...
Read more >
Text Wrapping Issues - Adobe Support Community - 9583490
Solved: I am trying to wrap some text around an image's edges but I cannot arrange the image behind the text. I am...
Read more >
CSS to stop text wrapping under image - Stack Overflow
I want it so that if the text wraps, it doesn't go into the 'column' for the image. I know I can do...
Read more >
Text won't wrap around images - WordPress.org
Hello, despite showing wrapping correctly on the Gutenberg editor, when I align the image block right or left so the text wraps, the...
Read more >
Word 2019: Quickly fix text wrap problems around ... - YouTube
https://in30minutes.com/?yA three-minute explanation of how to wrap text around a photo inserted into a .docx file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found