1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 18:39:51 +02:00

added cypress test for check-list page (#4383)

* added cypress test for check-list page

* Update cypress/integration/checkLists.ts

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* Update cypress/integration/checkLists.ts

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* Update cypress/integration/checkLists.ts

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* Added beforeEach() call

* moved the checkLists.ts example to the examples folder

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
This commit is contained in:
Anish Aggarwal
2021-08-02 23:49:10 +05:30
committed by GitHub
parent baa43c3f2e
commit a35fe46bff
2 changed files with 36 additions and 1 deletions

View File

@@ -176,7 +176,7 @@ const CheckListItemElement = ({ attributes, children, element }) => {
className={css`
flex: 1;
opacity: ${checked ? 0.666 : 1};
text-decoration: ${checked ? 'none' : 'line-through'};
text-decoration: ${!checked ? 'none' : 'line-through'};
&:focus {
outline: none;