mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Enhance delete button in context menu (#2591)
This commit is contained in:
parent
bfeb3c7dfd
commit
f919907855
3 changed files with 21 additions and 3 deletions
|
@ -32,6 +32,13 @@
|
|||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 0.2fr;
|
||||
|
||||
&.dangerous {
|
||||
div:nth-child(1) {
|
||||
color: $oc-red-7;
|
||||
}
|
||||
}
|
||||
|
||||
div:nth-child(1) {
|
||||
justify-self: start;
|
||||
margin-inline-end: 20px;
|
||||
|
@ -46,6 +53,13 @@
|
|||
.context-menu-option:hover {
|
||||
color: var(--popup-background-color);
|
||||
background-color: var(--select-highlight-color);
|
||||
|
||||
&.dangerous {
|
||||
div:nth-child(1) {
|
||||
color: var(--popup-background-color);
|
||||
}
|
||||
background-color: $oc-red-6;
|
||||
}
|
||||
}
|
||||
|
||||
.context-menu-option:focus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue