Skip to content

Commit

Permalink
fix(trello-clickup): Fix trello clickup for button styles (#2314)
Browse files Browse the repository at this point in the history
  • Loading branch information
with-shrey authored Jul 19, 2024
1 parent c2d55e3 commit 9bb8f6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/content/trello.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @name Trello
* @urlAlias trello.com
* @urlAlias trello.com
* @urlRegex *://trello.com/*
*/
'use strict';
Expand Down Expand Up @@ -41,7 +41,6 @@ togglbutton.render(

// Pass through click on Trello button to the timer link
container.addEventListener('click', (e) => {
e.preventDefault();
link.click();
});

Expand Down
10 changes: 8 additions & 2 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ SingleTaskPaneToolbar .toggl-button.asana-board, /* new ui v1 */

.toggl-button.trello-list:not(.toggl-button-edit-form-button) {
pointer-events: none;
margin-top: 6px;
margin-left: 1px;
margin-top: 3px !important;
}
.checklist-item-details:hover .toggl-button.trello-list, .toggl-button.trello-list.active:not(.toggl-button-edit-form-button) {
pointer-events: all;
Expand All @@ -184,6 +183,7 @@ SingleTaskPaneToolbar .toggl-button.asana-board, /* new ui v1 */
background-position: center !important;
}
.trello-tb-wrapper .toggl-button {
pointer-events: all;
color: #444;
}

Expand Down Expand Up @@ -877,6 +877,12 @@ li > .toggl-button.phabricator {
}

/********* Clickup *********/
.toggl-button:before {
content: unset !important;
}
.toggl-button.clickup svg {
visibility: visible !important;
}
.toggl-button.clickup.min svg,
.toggl-button.clickup.min span {
visibility: hidden;
Expand Down

0 comments on commit 9bb8f6d

Please sign in to comment.