From 84c7c71263fd4a12b6b7bc5ef1e683a8a94d7094 Mon Sep 17 00:00:00 2001 From: GokaPek Date: Tue, 28 May 2024 19:50:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BA=D1=80=D0=BE=D0=BB=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/Disciplines.cshtml | 21 ++++++++++--------- .../UniversityClientApp/wwwroot/css/site.css | 5 +++++ 2 files changed, 16 insertions(+), 10 deletions(-) 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