Skip to content

Commit 14fdf2b

Browse files
committed
fix: after setting the background image, the button is obscured
1 parent 13f91a4 commit 14fdf2b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/render/tpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ export function cover() {
7474

7575
return (
7676
`<section class="cover show" style="background: ${bgc}">` +
77-
'<div class="cover-main"><!--cover--></div>' +
7877
'<div class="mask"></div>' +
78+
'<div class="cover-main"><!--cover--></div>' +
7979
'</section>'
8080
);
8181
}

src/themes/basic/_coverpage.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ section.cover
2222
flex 1
2323
margin -20px 16px 0
2424
text-align center
25+
position: relative;
2526

2627
a
2728
color inherit

0 commit comments

Comments
 (0)