localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Headings Dont Wrap with Images and Maps Properly #42

Open philipn opened 9 years ago

philipn commented 9 years ago

From @ndstate on January 27, 2013 21:29

Text formatted as a heading does not wrap properly with images and maps that are aligned to say the right or left. The text will automatically render below the end of the image or map.

See http://twincitieswiki.org/Test_Page for an example of an image doing this and https://scruzwiki.org/Royal_Oaks for a map doing this.

Thanks.

Copied from original issue: localwiki/localwiki#433

philipn commented 9 years ago

From @ndstate on January 27, 2013 22:12

Perhaps this is related to https://github.com/localwiki/localwiki/pull/295

philipn commented 9 years ago

This is unfortunately deceptively complex. Check out https://guide.localwiki.org/Heading_Styles_Impact_Floating_Elements for some details

philipn commented 9 years ago

From @ndstate on April 15, 2013 4:11

Hello, thanks for the response. Can the clearing behavior be removed or removed on a page by page basis? It seems to me that having a huge open space is worse than images "drift out of the sections of the page they belong to." Thanks!

philipn commented 9 years ago

From @hampelm on December 26, 2013 16:19

It looks like adding display: inline-block to headings solves this problem on modern browsers.

ndstate commented 9 years ago

It looks like this is still occurring on the new LocalWiki. Any short-term solutions or something that can be adjusted to work more effectively?