Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 879e0b3

Browse files
author
WendelinPraktikum
authored
fix margin of 'add to card' heading
1 parent 714d15b commit 879e0b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content_script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function addButton(){
1414
buttonText.innerText = 'Toggl Task';
1515
button.append(buttonText);
1616

17-
sidebar.querySelectorAll(".mod-no-top-margin")[1].classList.remove("mod-no-top-margin")
17+
sidebar.querySelector(".js-sidebar-add-heading").classList.remove("mod-no-top-margin")
1818
}
1919

2020
function onClick(){

0 commit comments

Comments
 (0)