mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-10 20:49:54 +00:00
always center image, add minimum height
This commit is contained in:
parent
71d5c91061
commit
b7eba49f87
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
@import "global";
|
@import "global";
|
||||||
|
|
||||||
$height: calc(100vh - 156px);
|
$height: calc(100vh - 156px);
|
||||||
@media(min-width: 1200px) {
|
@media(min-width: 1200px) and (min-height: 600px){
|
||||||
.home {
|
.home {
|
||||||
> div.cover {
|
> div.cover {
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
|
@ -19,6 +19,7 @@ $height: calc(100vh - 156px);
|
||||||
}
|
}
|
||||||
.home__media {
|
.home__media {
|
||||||
float: right;
|
float: right;
|
||||||
|
@include absolute-center();
|
||||||
height: $height;
|
height: $height;
|
||||||
}
|
}
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
|
|
Loading…
Add table
Reference in a new issue