unsoluble/smalltime

Dragging not possible if time+date is multiline

Closed this issue · 2 comments

bithir commented

If the date display spans over a line, the div for it spans over the dragging div in Chrome.
See discussion on Foundry Discord https://discord.com/channels/170995199584108546/722566083499786352/1189921715531304990

2023-12-28.13-36-00.mp4
bithir commented

I would suggest adding something along the line of the following css elements for the dateDisplay div:

#smalltime-app #dateDisplay.style {
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

edit: after testing, the text-overflow is not doing the job I expected - unsure why.

Thanks, the sizing on all the text elements was meant to be fixed anyway, but I had a couple bits that were still using rem, so your larger-than-vanilla core font size was pushing the date past its intended scope.

Fixed that, and did also add an overflow control, just in case (overflow: hidden; is necessary too here, is why it wasn't working for you). Anyway, fixed in 1.19.2, cheers. :)