mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 22:01:48 +01:00
Cap equipment height to a maximum
This commit is contained in:
parent
9ea7a9414b
commit
ae843729de
2 changed files with 10 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
{% endif %}
|
||||
<div class="card-body">
|
||||
{% csrf_token %}
|
||||
<textarea class="form-control" name="equipment" rows="10">{{ character.equipment }}</textarea>
|
||||
<textarea class="form-control" name="equipment">{{ character.equipment }}</textarea>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row g-1">
|
||||
|
|
|
@ -22,3 +22,12 @@ img.profile-pic {
|
|||
max-height: 240px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
div#equipment .card-body {
|
||||
max-height: 250px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
form#equipment .card-body textarea {
|
||||
height: 210px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue