Skip to content

Commit

Permalink
fix: after setting the background image, the button is obscured (#1234)
Browse files Browse the repository at this point in the history
* fix: after setting the background image, the button is obscured

* Update _coverpage.styl
  • Loading branch information
sy-records committed Jun 26, 2020
1 parent 0663cb3 commit 34d918f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/render/tpl.js
Expand Up @@ -72,8 +72,8 @@ export function cover() {

return (
`<section class="cover show" style="background: ${bgc}">` +
'<div class="cover-main"><!--cover--></div>' +
'<div class="mask"></div>' +
'<div class="cover-main"><!--cover--></div>' +
'</section>'
);
}
Expand Down
1 change: 1 addition & 0 deletions src/themes/basic/_coverpage.styl
Expand Up @@ -22,6 +22,7 @@ section.cover
flex 1
margin -20px 16px 0
text-align center
position: relative

a
color inherit
Expand Down

1 comment on commit 34d918f

@vercel
Copy link

@vercel vercel bot commented on 34d918f Jun 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.