Skip to content

Commit 34d918f

Browse files
authored
fix: after setting the background image, the button is obscured (#1234)
* fix: after setting the background image, the button is obscured * Update _coverpage.styl
1 parent 0663cb3 commit 34d918f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/render/tpl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export function cover() {
7272

7373
return (
7474
`<section class="cover show" style="background: ${bgc}">` +
75-
'<div class="cover-main"><!--cover--></div>' +
7675
'<div class="mask"></div>' +
76+
'<div class="cover-main"><!--cover--></div>' +
7777
'</section>'
7878
);
7979
}

src/themes/basic/_coverpage.styl

+1
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)