Skip to content

Commit

Permalink
fix(inline-toolbar): remove white dot visible in dark theme (codex-te…
Browse files Browse the repository at this point in the history
…am#2755)

* Fix white dot visible in dark theme

* Fix test

---------

Co-authored-by: Peter Savchenko <[email protected]>
  • Loading branch information
TatianaFomina and neSpecc authored Jul 3, 2024
1 parent a647387 commit c3c1651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/styles/inline-toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
--color-text-icon-active: #388AE5;
--color-text-primary: black;

@apply --overlay-pane;
position: absolute;
visibility: hidden;
transition: opacity 250ms ease;
will-change: opacity, left, top;
Expand Down
2 changes: 1 addition & 1 deletion test/cypress/tests/modules/InlineToolbar.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('Inline Toolbar', () => {
/**
* Toolbar should be aligned with right side of text column
*/
expect($toolbar.offset().left + $toolbar.width()).to.closeTo(blockWrapperRect.right, 9);
expect($toolbar.offset().left + $toolbar.width()).to.closeTo(blockWrapperRect.right, 10);
});
});
});
Expand Down

0 comments on commit c3c1651

Please sign in to comment.