mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
[PR][Feature] Support multiline adversary and character names (#1437)
* Support multiline adversary names * Create fake placeholder * Also support multiline character names
This commit is contained in:
parent
5f6d08d8c2
commit
474cf28a53
6 changed files with 46 additions and 22 deletions
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
input[type='text'],
|
||||
input[type='number'],
|
||||
textarea {
|
||||
textarea,
|
||||
.input[contenteditable] {
|
||||
background: light-dark(transparent, transparent);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 4px 30px @soft-shadow;
|
||||
|
|
@ -43,6 +44,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.input[contenteditable] {
|
||||
cursor: var(--cursor-text);
|
||||
&:empty:before {
|
||||
color: light-dark(@dark-40, @beige-50);
|
||||
content: attr(placeholder);
|
||||
}
|
||||
}
|
||||
|
||||
input[type='checkbox'],
|
||||
input[type='radio'] {
|
||||
&:checked::after {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue