P E N C I L
Login
Responsive dialog
  1. Width:
    .MyDialog > .Dialog__container { width: 90%; max-width: 40rem; }

  2. Height:
    .MyDialog .Dialog__content { position: relative; padding: .75em 1em; max-height: 38rem; max-height: 70vh; overflow: hidden; overflow-y: auto; }
    38rem won't allow to scroll
    70vh does not work with ie8
  3. Focus to inputbox
    inputElm.focus()