ComboStrap / combo

Dokuwiki Combo Plugin. Making Web Publication a Breeze
https://combostrap.com
GNU General Public License v2.0
13 stars 3 forks source link

Emojis image appear on new line on mobile only #95

Open vaniwiki opened 1 month ago

vaniwiki commented 1 month ago

This goes for entity replacements at least, like :-) and FIXME and so on. I'm on Safari...

gerardnico commented 1 month ago

Reproducer https://demo.combostrap.com/entity

gerardnico commented 1 month ago

Ok dokuwiki does not have it here: https://www.dokuwiki.org/wiki:syntax#text_to_html_conversions

No idea why? If someone can tell me what needs to be done on Safari (ie toggle on and off the CSS properties until it works again), I can adjust it.

gerardnico commented 1 month ago

It seems that is more related to the mobile screen. I can reproduce it on my IOS mobile with Firefox but I can't reproduce it on Chrome or Firefox Desktop, mobile preview.

vaniwiki commented 1 month ago

It happens on Safari on Mac as well. I looked at the CSS, and it is an <img> tag, which follows on a new line.

gerardnico commented 1 month ago

WebKit problem then. I don't have an environment to test it. I'm too poor, no Mac 🤪

vaniwiki commented 1 month ago

Reported that the difference between DokuWiki and ComboStrap rendering is the image size being blown up to 100%. This does not happen in CSS, so must be in the ComboStrap code somewhere. Otherwise, why would it work in DokuWiki, if this is a Webkit issue? The question is if ComboStrap calculates images to be 100% width somewhere?

gerardnico commented 1 month ago

Dokuwiki have an extra css ? Css is the only properties that calculate the layout. This is css related. As we use bootstrap, it's also bootstrap related.