From 5f34675f522a0011b438fb65ee822574af9c3c9b Mon Sep 17 00:00:00 2001 From: Armen Rohalov Date: Mon, 7 Apr 2025 21:57:28 +0300 Subject: [PATCH] change style of lists --- src/components/DetectionClassList/DetectionClassList.css | 5 +++++ src/components/MediaList/MediaList.css | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/components/DetectionClassList/DetectionClassList.css b/src/components/DetectionClassList/DetectionClassList.css index b9355c9..562f708 100644 --- a/src/components/DetectionClassList/DetectionClassList.css +++ b/src/components/DetectionClassList/DetectionClassList.css @@ -6,14 +6,19 @@ list-style-type: none; padding: 0; margin: 0; + height: 40vh; + min-height: 300px; + overflow: auto; } .class-list-item { display: flex; align-items: center; + height: 12px; cursor: pointer; padding: 8px; font-size: 14px; + font-weight: 500; margin-bottom: 2px; border-radius: 4px; } \ No newline at end of file diff --git a/src/components/MediaList/MediaList.css b/src/components/MediaList/MediaList.css index 0d95873..9dccef3 100644 --- a/src/components/MediaList/MediaList.css +++ b/src/components/MediaList/MediaList.css @@ -12,6 +12,8 @@ .file-list-group { padding: 0; list-style-type: none; + max-height: 20vh; + overflow: auto; } .file-list-item {