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:
parent
93bf21fa2d
commit
42eacba15b
12 changed files with 84 additions and 1045 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue