phpbb-extensions/ad-management

Flex box has undesired results with some text

iMattPro opened this issue · 3 comments

The flex-box styling is great but it seems to have undesirable effects on plain text. For example the following code:

Hosting provided by <a href="http://foobar">FooBar Hosting</a>

There is no space in between the text and the anchor:

Hosting provided byFooBar Hosting

An initial solution is to wrap the ad code specificly in this example in a div tag

<div>Hosting provided by <a href="http://foobar">FooBar Hosting</a></div>

but if there's also a way to tweak our CSS to address this that would be ideal.

@senky We could just pre-wrap all ad-codes in a DIV...

<div class="phpbb-admanagement-center"><div>{{ AD_BELOW_FOOTER }}</div></div>

This prevents the ads themselves from being flexed, so only our div containing the ad gets flexed.