Revealing text content behind an image (Text wrapping issue)
See original GitHub issueIt 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:
- Created 7 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@qJake
Enhancement
aren’t exempt from stale bot.@hammy2899 Would you be able to label this so that the stale bot doesn’t remove it? I believe it’s an enhancement?
Thanks!