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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user