From 838f94211a4c76df431f3443f9f3ede766b13199 Mon Sep 17 00:00:00 2001 From: jduehring Date: Mon, 2 Dec 2024 12:10:25 +0100 Subject: [PATCH 1/2] fix height of container for creating new annotations --- frontend/style/annotations/annotate.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/style/annotations/annotate.less b/frontend/style/annotations/annotate.less index 3eff81fe5..f7cfe66ee 100644 --- a/frontend/style/annotations/annotate.less +++ b/frontend/style/annotations/annotate.less @@ -30,8 +30,8 @@ i.check { flex-direction: column; .categories-container-scroll { - overflow-y: scroll; - height: 100vh; + overflow-y: auto; + height: auto; } .dropdown { From 69b8271705972eb131b2a36d74a7e56c66ee9af1 Mon Sep 17 00:00:00 2001 From: jduehring Date: Tue, 17 Dec 2024 11:45:14 +0100 Subject: [PATCH 2/2] remove .categories-container-scroll container --- frontend/js/views/annotate-tab.js | 2 -- frontend/style/annotations/annotate.less | 5 ----- 2 files changed, 7 deletions(-) diff --git a/frontend/js/views/annotate-tab.js b/frontend/js/views/annotate-tab.js index 18ac3cbb0..54772aa69 100644 --- a/frontend/js/views/annotate-tab.js +++ b/frontend/js/views/annotate-tab.js @@ -81,10 +81,8 @@ define( * @type {HandlebarsTemplate} */ itemContainerTemplate: Handlebars.compile("
\ -
\
\
\ -
\
"), /** diff --git a/frontend/style/annotations/annotate.less b/frontend/style/annotations/annotate.less index f7cfe66ee..fbe92dfc0 100644 --- a/frontend/style/annotations/annotate.less +++ b/frontend/style/annotations/annotate.less @@ -29,11 +29,6 @@ i.check { display: flex; flex-direction: column; - .categories-container-scroll { - overflow-y: auto; - height: auto; - } - .dropdown { margin-left: 5px;