Use min-height with clamping to preserve space without truncating early

This commit is contained in:
Joe Knapper 2026-07-09 14:36:30 +01:00
parent 4093c4f7f7
commit 3440da6f8f

View file

@ -197,7 +197,9 @@ export default {
.log-summary-text {
text-align: center;
font-size: large;
height: calc(2 * 1.4em); /* height of element is 2 lines */
/* Reserve two lines even when message is short. line-clamp handles truncation */
min-height: calc(2 * 1.4em);
line-height: 1.4em;
padding: 0 5px; /* Give some padding so there's room for ... to not expand too far */
overflow: hidden;