Skip to content

Commit b6db118

Browse files
authored
Revert "fix: Coverpage when content > viewport height (#1744)"
This reverts commit 4349bad.
1 parent d8c32fe commit b6db118

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Diff for: .gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.DS_Store
22
.idea
33
*.log
4-
/_playwright-report
5-
/_playwright-results
6-
/lib
7-
/node_modules
8-
/themes
4+
_playwright-report
5+
_playwright-results
6+
lib
7+
node_modules
8+
themes
99

1010
# exceptions
1111
!.gitkeep

Diff for: src/themes/basic/_coverpage.styl

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
section.cover
2-
position relative
32
align-items center
43
background-position center center
54
background-repeat no-repeat
65
background-size cover
7-
min-height 100vh
8-
width 100%
6+
height 100vh
7+
width 100vw
98
display none
109

1110
&.show
@@ -16,12 +15,12 @@ section.cover
1615
opacity 0.8
1716
position absolute
1817
top 0
19-
bottom 0
18+
height 100%
2019
width 100%
2120

2221
.cover-main
2322
flex 1
24-
margin 0 16px
23+
margin -20px 16px 0
2524
text-align center
2625
position: relative
2726

0 commit comments

Comments
 (0)