Скролл
This commit is contained in:
parent
9da8a0fd79
commit
84c7c71263
@ -43,6 +43,7 @@
|
||||
<div class="row">
|
||||
<div class="col-4">Students:</div>
|
||||
<div class="col-8">
|
||||
<div class="scrollable-list">
|
||||
@foreach (var student in students)
|
||||
{
|
||||
<div class="form-check">
|
||||
@ -54,6 +55,7 @@
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
@ -95,4 +97,3 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
@ -20,3 +20,8 @@ html {
|
||||
body {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.scrollable-list {
|
||||
max-height: 200px; /* Âûñîòà ñêðîëëáàðà */
|
||||
overflow-y: auto; /* Äîáàâëÿåì ñêðîëëáàð */
|
||||
}
|
Loading…
Reference in New Issue
Block a user