mirror of
https://github.com/openvk/openvk
synced 2024-12-22 08:31:18 +03:00
fix(square avatar): make focus on top of picture
This commit is contained in:
parent
b9687b1fb2
commit
0596452ef4
2 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,7 @@ table.User > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > a:nth-chil
|
|||
width: 50px;
|
||||
height: 50px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.post > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1) > img:nth-child(1)
|
||||
|
@ -11,6 +12,7 @@ table.User > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > a:nth-chil
|
|||
width: 50px;
|
||||
height: 50px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
div.content > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1) > img:nth-child(1)
|
||||
|
@ -18,6 +20,7 @@ div.content > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth
|
|||
width: 75px;
|
||||
height: 75px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.crp-entry--image > img
|
||||
|
@ -25,6 +28,7 @@ div.content > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth
|
|||
width: 48px;
|
||||
height: 48px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.crp-entry--message---av > img,
|
||||
|
@ -33,16 +37,19 @@ div.content > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth
|
|||
width: 42px;
|
||||
height: 42px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.cCompactAvatars {
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.profile_thumb > a > img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
}
|
||||
|
|
|
@ -3143,7 +3143,7 @@ body.article .floating_sidebar, body.article .page_content {
|
|||
position: absolute;
|
||||
z-index: 128;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
|
|
Loading…
Reference in a new issue