Commit a585ff13 authored by Michael Iseard's avatar Michael Iseard
Browse files

Make intro text display:block on mobile

parent d5962395
......@@ -156,7 +156,7 @@ function filter_handlebar( $string ) {
$list = explode( ',', str_replace( ' ', '', $matches[1][0] ) );
$first = $list[0];
$out['string'] = preg_replace( $regex,
'<span id="intro-variable" class="list underline swap-in">' . $first . "</span>",
'<div id="intro-variable" class="d-block d-sm-inline-block list underline swap-in" style="width: max-content;">' . $first . "</div>",
$string );
$out['list'] = json_encode( $list );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment