Fixing potential overflow issue with css.