Skip to content

`font-size: 1rem` for the popup, use `em` for all popup children

Compare
Choose a tag to compare
@limonte limonte released this 20 Jan 11:59
· 3066 commits to main since this release

@acurrieclark's suggestion from #25 (comment)

A better option here might have been to use em with a higher element given an rem factor. This way it is easy to override the base value with one css setting.

There's only one CSS setting (SCSS var) now 🎉

$swal2-font-size: 1rem;