added min-width as current width of the span