Skip to content

Commit

Permalink
fix: restore correct pointer styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed May 15, 2024
1 parent 83e81fa commit 19d951b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions projects/ngx-editor/src/lib/editor.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

--ngx-editor-focus-ring-color: #5e9ed6;
--ngx-editor-error-color: red;
--ngx-editor-click-pointer: pointer;
--ngx-editor-click-pointer: default;
}

$border-radius: var(--ngx-editor-border-radius);
Expand Down Expand Up @@ -150,15 +150,14 @@ $pointer-style: var(--ngx-editor-click-pointer, default);
display: flex;
flex-wrap: wrap;
padding: $menubar-padding;
cursor: default;
background-color: $menubar-bg-color;
gap: 0.25rem 0.1rem;
}

.NgxEditor__MenuBar {
button,
[role='button'] {
cursor: $pointer-style !important;
button:not(:disabled),
[role='button']:not(:disabled) {
cursor: $pointer-style;
}
}

Expand Down

0 comments on commit 19d951b

Please sign in to comment.