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'; script-src 'self';
style-src 'self' 'unsafe-inline';" 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" /> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style> <style>
body { body {

View File

@ -21,6 +21,7 @@
> >
<title>Signal</title> <title>Signal</title>
<link href='images/icon_128.png' rel='shortcut icon'> <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="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<link href="node_modules/draft-js/dist/Draft.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'; script-src 'self';
style-src 'self' 'unsafe-inline';" 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" /> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style> <style>
</style> </style>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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