complicated; see https://github.com/twbs/bootstrap/issues/13562