We study the behavior across the deconfinement phase transition of the chromoelectric flux tube generated by a static quark and a static antiquark for several distances between them. We present preliminary results for distances up to 1.33 fm and temperatures up to $1.5 T_c$.