replaced inline style with css in _base