Revert "Use flex detection for fronts"

looks like it's breaking some layouts