Skip to content

Commit

Permalink
Revert "fix: Coverpage when content > viewport height (#1744)"
Browse files Browse the repository at this point in the history
This reverts commit 4349bad.
  • Loading branch information
Koooooo-7 authored Oct 26, 2022
1 parent d8c32fe commit b6db118
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.DS_Store
.idea
*.log
/_playwright-report
/_playwright-results
/lib
/node_modules
/themes
_playwright-report
_playwright-results
lib
node_modules
themes

# exceptions
!.gitkeep
9 changes: 4 additions & 5 deletions src/themes/basic/_coverpage.styl
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
section.cover
position relative
align-items center
background-position center center
background-repeat no-repeat
background-size cover
min-height 100vh
width 100%
height 100vh
width 100vw
display none

&.show
Expand All @@ -16,12 +15,12 @@ section.cover
opacity 0.8
position absolute
top 0
bottom 0
height 100%
width 100%

.cover-main
flex 1
margin 0 16px
margin -20px 16px 0
text-align center
position: relative

Expand Down

0 comments on commit b6db118

Please sign in to comment.