Skip to content

Commit 52ff9af

Browse files
committed
Still allow mouse under the overlay
1 parent 7c2439c commit 52ff9af

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

resume-generator/template.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ html(lang="en")
9797
span= skill
9898
if index < sorted_skills.length - 1
9999
| ,
100-
.overlay
101-
.action-bar.no-print
100+
.overlay.no-print
101+
.action-bar
102102
button(onclick="window.print()")
103103
svg(xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='#000000' viewbox='0 0 256 256')
104104
path(d='M214.67,72H200V40a8,8,0,0,0-8-8H64a8,8,0,0,0-8,8V72H41.33C27.36,72,16,82.77,16,96v80a8,8,0,0,0,8,8H56v32a8,8,0,0,0,8,8H192a8,8,0,0,0,8-8V184h32a8,8,0,0,0,8-8V96C240,82.77,228.64,72,214.67,72ZM72,48H184V72H72ZM184,208H72V160H184Zm40-40H200V152a8,8,0,0,0-8-8H64a8,8,0,0,0-8,8v16H32V96c0-4.41,4.19-8,9.33-8H214.67c5.14,0,9.33,3.59,9.33,8Zm-24-52a12,12,0,1,1-12-12A12,12,0,0,1,200,116Z')

src/public/resume/styles.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ body {
3232
left: 0;
3333
width: 100%;
3434
height: 100%;
35+
pointer-events: none;
3536
}
3637

3738
h1, h2, h3, h4, p {
@@ -225,6 +226,7 @@ ul li::marker {
225226
position: sticky;
226227
max-width: 40px;
227228
margin-left: auto;
229+
pointer-events: all;
228230
}
229231

230232
.action-bar > * {

0 commit comments

Comments
 (0)