Skip to content
Snippets Groups Projects
Commit dedcc47e authored by Sven Kästle's avatar Sven Kästle
Browse files

fix: Use 100% of width when there is no drop down button

parent ae51cc81
No related branches found
No related tags found
No related merge requests found
......@@ -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%');
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment