From 5c555c2d7abb2003187761154b4b4c20f95731c6 Mon Sep 17 00:00:00 2001 From: Shrey Gupta Date: Tue, 5 Mar 2024 10:50:05 +0530 Subject: [PATCH] feat(freshservice): Improve styling of toggl button --- src/content/freshservice.js | 3 +-- src/styles/style.css | 7 +++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/content/freshservice.js b/src/content/freshservice.js index e0bf66aa9..ee986879b 100644 --- a/src/content/freshservice.js +++ b/src/content/freshservice.js @@ -11,9 +11,8 @@ togglbutton.render('.tkt-quick-action:not(.toggl)', { observe: true }, function className: 'freshservice', description: description, projectname: '', - calculateTotal: true }); - elem.appendChild(link); + elem.prepend(link); } ); diff --git a/src/styles/style.css b/src/styles/style.css index b2b0627dc..733f487c9 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -869,6 +869,13 @@ li > .toggl-button.phabricator { left: 5px; } + +/********* FRESHSERVICE *********/ +.toggl-button.freshservice { + margin-top: 5px; + margin-right: 10px; +} + /********* Clickup *********/ .toggl-button.clickup.min svg, .toggl-button.clickup.min span {