diff --git a/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js b/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js index 314be7c057375ddb14dd780a720fd593508f50d2..42bf5fd9457aed7a1a6c001df412f4f908ecedfc 100644 --- a/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js +++ b/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js @@ -582,9 +582,11 @@ function showAndHideToggleButton() { // show drop down button only if text was truncated if(cloneWidth > comment.width()) { $(this).find('.annotation-header-toggle').show(); + $(this).find('.annotation-header-data').css('width', 'calc(100% - 40px)'); } else { $(this).find('.annotation-header-toggle').hide(); + $(this).find('.annotation-header-data').css('width', '100%'); } })