Fix sheet portrait image css

This commit is contained in:
Dapoolp 2025-08-15 21:17:51 +02:00
parent 2ef36401d5
commit a4a608e320
6 changed files with 10 additions and 12 deletions

View file

@ -0,0 +1,8 @@
.application.sheet.daggerheart.actor.dh-style {
.portrait img, .profile {
width: 100%;
object-fit: cover;
object-position: top center;
}
}

View file

@ -53,9 +53,6 @@
img { img {
height: 275px; height: 275px;
width: 275px;
object-fit: cover;
object-position: top center;
} }
.death-roll-btn { .death-roll-btn {

View file

@ -56,9 +56,6 @@
img { img {
height: 275px; height: 275px;
width: 275px;
object-fit: cover;
object-position: top center;
} }
.death-roll-btn { .death-roll-btn {

View file

@ -10,9 +10,6 @@
.profile { .profile {
height: 235px; height: 235px;
width: 235px;
object-fit: cover;
object-position: top center;
cursor: pointer; cursor: pointer;
mask-image: linear-gradient(0deg, transparent 0%, black 10%); mask-image: linear-gradient(0deg, transparent 0%, black 10%);
} }

View file

@ -9,10 +9,7 @@
text-align: center; text-align: center;
.profile { .profile {
width: 235px;
height: 235px; height: 235px;
object-fit: cover;
object-position: top center;
mask-image: linear-gradient(0deg, transparent 0%, black 10%); mask-image: linear-gradient(0deg, transparent 0%, black 10%);
cursor: pointer; cursor: pointer;
} }

View file

@ -1,3 +1,5 @@
@import './actors/actor-sheet-shared.less';
@import './actors/adversary/actions.less'; @import './actors/adversary/actions.less';
@import './actors/adversary/header.less'; @import './actors/adversary/header.less';
@import './actors/adversary/sheet.less'; @import './actors/adversary/sheet.less';