The history sidebar uses a `style-src-elem 'unsafe-inline'` directive, which is incorrect and would break its use of an inline style, but works because of XUL prototype cache stuff. Using style-src instead of style-src-elem also simplifies the code in bug 1946040. Differential Revision: https://phabricator.services.mozilla.com/D237691