From 03ea60b994083ac1f0305b911b4727219369f144 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Fri, 20 Mar 2026 17:19:08 +0100 Subject: [PATCH] fix: settlement icon portrait shape + window min-height - Actor image: 72x110px (portrait) with object-position center top - Window min-height: 520px Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- css/fvtt-oath-hammer.css | 8 +++++++- less/settlement-sheet.less | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/css/fvtt-oath-hammer.css b/css/fvtt-oath-hammer.css index 9f0ee96..3486c49 100644 --- a/css/fvtt-oath-hammer.css +++ b/css/fvtt-oath-hammer.css @@ -1750,6 +1750,9 @@ .item-list--armor .item-actions a[data-action="edit"] { margin-left: 6px; } +.oathhammer.settlement { + min-height: 520px; +} .oathhammer .settlement-main { padding: 0 0 8px; border-bottom: 1px solid rgba(42, 26, 10, 0.25); @@ -1761,13 +1764,16 @@ } .oathhammer .settlement-header .actor-img { width: 72px; - height: 72px; + height: 110px; -o-object-fit: cover; object-fit: cover; + -o-object-position: center top; + object-position: center top; border: 2px solid rgba(42, 26, 10, 0.4); border-radius: 4px; cursor: pointer; flex-shrink: 0; + flex-grow: 0; } .oathhammer .settlement-header-info { flex: 1; diff --git a/less/settlement-sheet.less b/less/settlement-sheet.less index 2ccbd05..4263c37 100644 --- a/less/settlement-sheet.less +++ b/less/settlement-sheet.less @@ -2,6 +2,10 @@ // SETTLEMENT SHEET // ============================================================ +.oathhammer.settlement { + min-height: 520px; +} + .oathhammer .settlement-main { padding: 0 0 8px; border-bottom: 1px solid fade(@color-dark, 25%); @@ -15,12 +19,14 @@ .oathhammer .settlement-header .actor-img { width: 72px; - height: 72px; + height: 110px; object-fit: cover; + object-position: center top; border: 2px solid fade(@color-dark, 40%); border-radius: 4px; cursor: pointer; flex-shrink: 0; + flex-grow: 0; } .oathhammer .settlement-header-info {