fix(square avatar): make focus on top of picture

This commit is contained in:
mrilyew 2024-11-22 11:49:35 +03:00
parent b9687b1fb2
commit 0596452ef4
2 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,7 @@ table.User > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > a:nth-chil
width: 50px; width: 50px;
height: 50px; height: 50px;
object-fit: cover; 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) .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; width: 50px;
height: 50px; height: 50px;
object-fit: cover; 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) 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; width: 75px;
height: 75px; height: 75px;
object-fit: cover; object-fit: cover;
object-position: top;
} }
.crp-entry--image > img .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; width: 48px;
height: 48px; height: 48px;
object-fit: cover; object-fit: cover;
object-position: top;
} }
.crp-entry--message---av > img, .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; width: 42px;
height: 42px; height: 42px;
object-fit: cover; object-fit: cover;
object-position: top;
} }
.cCompactAvatars { .cCompactAvatars {
width: 30px !important; width: 30px !important;
height: 30px !important; height: 30px !important;
object-fit: cover; object-fit: cover;
object-position: top;
} }
.profile_thumb > a > img { .profile_thumb > a > img {
width: 50px; width: 50px;
height: 50px; height: 50px;
object-fit: cover; object-fit: cover;
object-position: top;
} }

View file

@ -3143,7 +3143,7 @@ body.article .floating_sidebar, body.article .page_content {
position: absolute; position: absolute;
z-index: 128; z-index: 128;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;