Skip to content

Commit

Permalink
feat(styles): add .swal2-arabic-question-mark (#1448)
Browse files Browse the repository at this point in the history
It'll be useful for Arabic/Persian UIs:

Swal.fire({
  type: 'question',
  customClass: {
    icon: 'swal2-arabic-question-mark'
  }
})
  • Loading branch information
limonte authored Mar 15, 2019
1 parent 63ab461 commit e57ce7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sweetalert2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,10 @@ body {
&::before {
content: '?';
}

&.swal2-arabic-question-mark::before {
content: '؟';
}
}

&.swal2-success {
Expand Down

0 comments on commit e57ce7f

Please sign in to comment.