1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-25 07:31:15 +02:00

add support for data-preview-link on any element type (prev only a)

This commit is contained in:
Hakim El Hattab
2025-03-20 13:52:28 +01:00
parent b3fd27d071
commit 94716f9e51
3 changed files with 42 additions and 3 deletions

View File

@@ -1444,7 +1444,8 @@ $controlsArrowAngleActive: 36deg;
}
.reveal [data-preview-image],
.reveal [data-preview-video] {
.reveal [data-preview-video],
.reveal [data-preview-link]:not(a):not([data-preview-link=false]) {
cursor: zoom-in;
}