Skip to content

Commit 8bc9b8a

Browse files
committed
scroll height on amendment instruction text
1 parent bea801e commit 8bc9b8a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

indigo_app/static/stylesheets/_works.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@
8686
max-height: 30vh;
8787
overflow-y: auto;
8888
}
89+
90+
.amendment-instruction-text {
91+
max-height: 35vh;
92+
overflow-y: auto;
93+
}

indigo_app/templates/indigo_api/amendment/_instruction_detail.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@
7676
</ul>
7777
<div class="tab-content">
7878
<div class="tab-pane show active" id="instruction-{{ instruction.pk }}-instructions" tabindex="0">
79-
{{ instruction.amendment_instruction|linebreaksbr }}
79+
<div class="amendment-instruction-text">
80+
{{ instruction.amendment_instruction|linebreaksbr }}
81+
</div>
8082
</div>
8183
{% if instruction.is_applied %}
8284
<div class="tab-pane" id="instruction-{{ instruction.pk }}-provision" tabindex="0">

0 commit comments

Comments
 (0)