Hide family link facts (FAMC/FAMS/HUSB/WIFE/CHIL) from Facts & Events tab

Override fact.phtml to add bocken-family-fact class on family link rows,
then hide via CSS. Language-agnostic since it matches GEDCOM tags, not
translated labels. Info remains available in Relatives tab and sidebar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 21:39:45 +01:00
parent 1531c075c4
commit 77f067f8bc
3 changed files with 173 additions and 0 deletions
+5
View File
@@ -420,6 +420,11 @@
display: flex !important;
}
/* Hide family link facts (FAMC/FAMS/HUSB/WIFE/CHIL) — redundant with Relatives tab */
.wt-route-IndividualPage .wt-facts-table > tbody > tr.bocken-family-fact {
display: none !important;
}
/* "Add a fact" row — flatten */
.wt-route-IndividualPage .wt-facts-table > tbody > tr:last-child {
background: transparent;