mobileClass = () => {
  let mobileClass = ''
  ;(a => {
    if (
      /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(
        a,
      )
    ) {
      mobileClass = 'formbuilder-mobile'
    }
  })(navigator.userAgent || navigator.vendor || window.opera)
  return mobileClass
}
Add a mobile class
@todo find css only solution
@return {string} Mobile class added to formBuilder