Skip to content

Commit

Permalink
[lexical-playground] Refactor: move CursorBlink animation to editor t…
Browse files Browse the repository at this point in the history
…heme
  • Loading branch information
umaranis committed Dec 10, 2024
1 parent 5a0c11d commit 64a8c67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/lexical-playground/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1766,12 +1766,6 @@ button.item.dropdown-item-active i {
z-index: 3;
}

@keyframes CursorBlink {
to {
visibility: hidden;
}
}

.dialog-dropdown {
background-color: #eee !important;
margin-bottom: 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@
border-top: 1px solid black;
animation: CursorBlink 1.1s steps(2, start) infinite;
}
@keyframes CursorBlink {
to {
visibility: hidden;
}
}
.PlaygroundEditorTheme__code {
background-color: rgb(240, 242, 245);
font-family: Menlo, Consolas, Monaco, monospace;
Expand Down

0 comments on commit 64a8c67

Please sign in to comment.