Open achumakov opened 8 years ago
@achumakov I think that a substr can be applied to the status in the calendar when the number of characters is greater than 8-9. Also, some dots can be added at the end too, like Publié e... @philipjohn What do you think about this kind of change? Would it be helpful? I think that it would make things look better on the calendar when there's more than one article in a table cell.
The PR will make the elements from the calendar go from this:
to this:
I tried to test different cases to see how this would work.
Within calendar cell, there is a post status at the right. Internalional status names could be rather long, e.g. for Russian they get split into 2-3 lines, totally cluttering the page if there are many posts.
Any code to cut status text to some 3-8 characters would be great.