Add an error block and validation to help ensure users know when they messed up the block type
This commit is contained in:
parent
7796c82962
commit
ce65e3a516
3 changed files with 32 additions and 6 deletions
|
|
@ -36,8 +36,19 @@
|
|||
|
||||
p {
|
||||
margin: 0;
|
||||
grid-column: 1 / -1;
|
||||
text-indent: 1em;
|
||||
|
||||
&.error {
|
||||
font-size: 1.1rem;
|
||||
padding: 6px 8px;
|
||||
box-shadow: 0 0 10px var(--color-shadow-dark);
|
||||
color: var(--color-text-light-1);
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
background: var(--color-level-error-bg);
|
||||
border: 1px solid var(--color-level-error);
|
||||
text-indent: 0;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue