Summary Files Commits Branches @commit @diff @stats
path: root / src / presentation.css
diff options
context:
space:
mode:
Commitccb8fc87c90acfd5ec03b73075f7e0f13e8b19b1 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-07-11 09:39:33 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-07-11 09:40:07 +0300
Filesa8476605708796aaab372b8928484e7449baac4e /src/presentation.css
syndamia.com-ccb8fc87c90acfd5ec03b73075f7e0f13e8b19b1.tar
syndamia.com-ccb8fc87c90acfd5ec03b73075f7e0f13e8b19b1.tar.gz
syndamia.com-ccb8fc87c90acfd5ec03b73075f7e0f13e8b19b1.zip
Parentfc912ee942e9e577156fcedee047fee66d0eed13 (diff)
(presentation) Disabled image clicking on slides that aren't absolute
We need to fix slide scale, however, this means that all positioning of child elements is relative to the slide So, the image cannot be in the middle of the screen
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/presentation.css1
diff --git a/src/presentation.css b/src/presentation.css
index 4dbe7e0..c231259 100644
--- a/src/presentation.css
+++ b/src/presentation.css
@@ -46,6 +46,7 @@ ul, ol { padding-inline-start: 30px; }
max-width: 100%;
/* width: auto; */
}
+ .slide:not(.absolute-slide) img { pointer-events: none; }
.slide td { font: inherit; }
.slide > *:first-child, .slide > div:only-child > *:first-child,
.slide > ul:first-child > li:first-child > *:first-child,