Skip to content

Commit

Permalink
Add wrapping behaviour to the fact note.
Browse files Browse the repository at this point in the history
Issue: When you add long url to the fact note it overflows the container.
I resolved it by adding overflow-wrap: break-word to the .wt-facts-table td .wt-fact-notes p
  • Loading branch information
p-litwin committed May 20, 2024
1 parent 326ac7e commit af8a756
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/css/webtrees.css
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ div.fact_SHARED_NOTE {
border: 1px solid #81a9cb;
}

.wt-facts-table td .wt-fact-notes p {
overflow-wrap: break-word;
}

.wt-facts-table .wt-sex-f > td {
background-color: var(--sex-f-bg);
border: solid #81a9cb thin;
Expand Down

0 comments on commit af8a756

Please sign in to comment.