Merge branch 'log-summary' into 'v3'

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

Closes #818

See merge request openflexure/openflexure-microscope-server!654
This commit is contained in:
Julian Stirling 2026-07-13 22:34:45 +00:00
commit 3b89a499d0

View file

@ -198,7 +198,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;