hard-coded widths are a bad sign. I think the ideal situation may involve a container that's just for the slider (and legend labels, but not the input label)
In short, the aim is that the slider (or slider+label+legend combination) should be able to fend for itself given a reasonable set of legend text. It does not have to deal with unreasonably long legends, though setting a max-width on the element might do the trick (and long legends will be wrapped).
hard-coded widths are a bad sign. I think the ideal situation may involve a container that's just for the slider (and legend labels, but not the input label)
In short, the aim is that the slider (or slider+label+legend combination) should be able to fend for itself given a reasonable set of legend text. It does not have to deal with unreasonably long legends, though setting a max-width on the element might do the trick (and long legends will be wrapped).