Skip to content

Commit 5cc4b07

Browse files
committed
💄(frontend) improve caret style
Improve the caret, to looks more like the google doc caret.
1 parent 0cfc242 commit 5cc4b07

File tree

1 file changed

+3
-2
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-editor

1 file changed

+3
-2
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ export const cssEditor = (readonly: boolean) => css`
3030
white-space: nowrap;
3131
transition: clip-path 0.3s ease-in-out;
3232
border-radius: 4px 4px 4px 0;
33-
box-shadow: inset -2px 2px 6px #ffffff88;
34-
clip-path: polygon(0 100%, 0 100%, 0 100%, 0% 100%);
33+
box-shadow: inset -2px 2px 6px #ffffff00;
34+
clip-path: polygon(0 85%, 4% 85%, 4% 100%, 0% 100%);
3535
}
3636
.collaboration-cursor-custom__base[data-active]
3737
.collaboration-cursor-custom__label {
3838
pointer-events: none;
39+
box-shadow: inset -2px 2px 6px #ffffff88;
3940
clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
4041
}
4142

0 commit comments

Comments
 (0)