Skip to content

Commit

Permalink
[foundryvtt#1401] Further CSS tweeks on textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Jan 25, 2023
1 parent 9708557 commit ed66b72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dnd5e.css
Original file line number Diff line number Diff line change
Expand Up @@ -1412,9 +1412,12 @@ h5 {
.dnd5e.advancement.item-choice .level-list .hint {
text-align: end;
}
.dnd5e.advancement.item-choice .form-group:has(textarea) {
align-items: flex-start;
}
.dnd5e.advancement.item-choice textarea {
margin-inline-start: 8px;
border: none;
border: 1px solid var(--color-border-light-tertiary);
font-family: var(--font-primary);
font-size: var(--font-size-12);
height: 100px;
Expand Down
6 changes: 5 additions & 1 deletion less/advancement.less
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@
text-align: end;
}

.form-group:has(textarea) {
align-items: flex-start;
}

textarea {
margin-inline-start: 8px;
border: none;
border: 1px solid var(--color-border-light-tertiary);
font-family: var(--font-primary);
font-size: var(--font-size-12);
height: 100px;
Expand Down

0 comments on commit ed66b72

Please sign in to comment.