Add sanitize.css to all windows and styleguide

This commit is contained in:
Ken Powers 2020-02-07 15:19:35 -05:00 committed by GitHub
parent 8d4125f0a8
commit fba401aee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 4 deletions

View file

@ -13,6 +13,7 @@
script-src 'self';
style-src 'self' 'unsafe-inline';"
>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
body {

View file

@ -21,6 +21,7 @@
>
<title>Signal</title>
<link href='images/icon_128.png' rel='shortcut icon'>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<link href="node_modules/draft-js/dist/Draft.css" rel="stylesheet" type="text/css" />

View file

@ -13,6 +13,7 @@
script-src 'self';
style-src 'self' 'unsafe-inline';"
>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
</style>

View file

@ -13,6 +13,7 @@
script-src 'self';
style-src 'self' 'unsafe-inline';"
>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
</style>

View file

@ -13,6 +13,7 @@
script-src 'self';
style-src 'self' 'unsafe-inline';"
>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
</style>

View file

@ -64,6 +64,11 @@ module.exports = {
template: {
head: {
links: [
{
rel: 'stylesheet',
type: 'text/css',
href: '/node_modules/sanitize.css/sanitize.css',
},
{
rel: 'stylesheet',
type: 'text/css',

View file

@ -44,6 +44,7 @@ img.emoji {
width: 1.4em;
height: 1.4em;
margin-bottom: -4px;
vertical-align: baseline;
}
img.emoji.small {

View file

@ -1,7 +1,3 @@
* {
box-sizing: border-box;
}
html {
height: 100%;
}

View file

@ -6720,6 +6720,7 @@ button.module-image__border-overlay:focus {
width: $size;
height: $size;
transform: translate3d(0, 0, 0);
vertical-align: baseline;
}
}