mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
Editors: Made drawings appear clickiable via cursor
During review of #5864
This commit is contained in:
@@ -451,6 +451,9 @@ body.editor-is-fullscreen {
|
||||
outline: 1px dashed var(--editor-color-primary);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.editor-content-area [drawio-diagram] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editor-table-marker {
|
||||
position: fixed;
|
||||
|
||||
@@ -142,6 +142,9 @@
|
||||
padding-inline-end: 12px;
|
||||
max-width: 864px;
|
||||
}
|
||||
[drawio-diagram] {
|
||||
cursor: pointer;
|
||||
}
|
||||
[drawio-diagram]:hover {
|
||||
outline: 2px solid var(--color-primary);
|
||||
}
|
||||
|
||||
@@ -205,9 +205,8 @@ body.page-content.mce-content-body {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set correct cursor for drawio
|
||||
* Ensure cursor indicates that drawings are clickable
|
||||
*/
|
||||
|
||||
.page-content.mce-content-body [drawio-diagram] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user