1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-24 23:59:46 +02:00

Add warning tool, fix XSS in image alt-tag (#75)

* Add warning tool, fix XSS in image alt-tag

* production build

* Upgrade editor

* Add spaces
This commit is contained in:
Peter Savchenko 2019-03-20 10:07:59 +03:00 committed by GitHub
parent 93bf21fa2d
commit 42eacba15b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 84 additions and 1045 deletions

View file

@ -305,3 +305,28 @@
border: 1px solid var(--color-line-gray);
}
}
/**
* Warning
* ==================
*/
.block-warning {
display: flex;
padding: 20px;
margin: 30px 0;
border-radius: 7px;
background: #fff9ef;
color: #392e2f;
&__icon {
margin-right: 15px;
}
&__title {
font-weight: bold;
}
&__message {
padding-left: 15px;
}
}