diff --git a/University/UniversityClientApp/Views/Home/Disciplines.cshtml b/University/UniversityClientApp/Views/Home/Disciplines.cshtml index a5ab93b..edb67e5 100644 --- a/University/UniversityClientApp/Views/Home/Disciplines.cshtml +++ b/University/UniversityClientApp/Views/Home/Disciplines.cshtml @@ -43,15 +43,17 @@
Students:
- @foreach (var student in students) - { -
- - -
- } +
+ @foreach (var student in students) + { +
+ + +
+ } +
@@ -95,4 +97,3 @@ - diff --git a/University/UniversityClientApp/wwwroot/css/site.css b/University/UniversityClientApp/wwwroot/css/site.css index f8a013d..37b7b9b 100644 --- a/University/UniversityClientApp/wwwroot/css/site.css +++ b/University/UniversityClientApp/wwwroot/css/site.css @@ -19,4 +19,9 @@ html { body { margin-bottom: 60px; +} + +.scrollable-list { + max-height: 200px; /* Высота скроллбара */ + overflow-y: auto; /* Добавляем скроллбар */ } \ No newline at end of file