Skip to content

Commit 8163c14

Browse files
aclark4lifeAugment Agent
andcommitted
Revert mongo leaf viewport fixes (to be revisited)
Reverts: - Fix leaf visibility: position:absolute inside .reveal, not position:fixed - Move #leaf-fixed to end of body so it always paints above Reveal.js - Fix mongo leaf to always stay visible in viewport top-right Co-authored-by: Augment Agent <augment-agent@augmentcode.com>
1 parent 1e1bbe9 commit 8163c14

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

presentation.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,13 @@
156156

157157
/* Small leaf corner mark (for non-title slides) */
158158
.leaf-corner {
159-
display: none; /* replaced by #leaf-fixed */
160-
}
161-
162-
/* Persistent leaf — absolute inside .reveal (which is always 100vw × 100vh),
163-
avoiding position:fixed bugs when Reveal.js sets overflow:hidden on html/body */
164-
#leaf-fixed {
165159
position: absolute;
166-
top: 18px;
167160
right: 28px;
161+
bottom: 18px;
168162
width: 18px;
169163
height: 30px;
170164
opacity: 0.30;
171165
pointer-events: none;
172-
z-index: 9999;
173166
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 340'%3E%3Cpath d='M100 8 C136 8 165 38 165 78 C165 128 138 172 100 330 C62 172 35 128 35 78 C35 38 64 8 100 8 Z' fill='%2300ED64'/%3E%3C/svg%3E");
174167
background-repeat: no-repeat;
175168
background-size: contain;
@@ -711,10 +704,6 @@ <h4>Contributing</h4>
711704
<div class="leaf-corner"></div>
712705
</section>
713706

714-
<!-- Persistent leaf: last child of .reveal so it paints above slides/backgrounds.
715-
position:absolute relative to .reveal (100vw×100vh) avoids position:fixed
716-
bugs caused by Reveal.js setting overflow:hidden on html and body. -->
717-
<div id="leaf-fixed"></div>
718707
</div>
719708
</div>
720709

0 commit comments

Comments
 (0)