validation function
edit view
flexbox styles