Commit 926d593d38816af826ab025256137fe74c91ee4e
1 parent
d22f13e4
make content height relative/liquid
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | ... | @@ -146,7 +146,7 @@ p { |
| 146 | 146 | .content { |
| 147 | 147 | position: relative; |
| 148 | 148 | width: 90%; |
| 149 | - top: 50%; | |
| 149 | + height: 100%; | |
| 150 | 150 | left: 50%; |
| 151 | 151 | transform: translate(-50%, 0); |
| 152 | 152 | z-index: 1; |
| ... | ... | @@ -194,7 +194,7 @@ p { |
| 194 | 194 | list-style: none; |
| 195 | 195 | text-align: justify; |
| 196 | 196 | width: 100%; |
| 197 | - height: 20em; | |
| 197 | + height: 50%; | |
| 198 | 198 | top: 50%; |
| 199 | 199 | transform: translate(0, -50%); |
| 200 | 200 | position: absolute; | ... | ... |
Please
register
or
login
to post a comment