[MED-394] Replacing flexbox with floats