Edit mode inline style fix