• Resolved dd005

    (@dd005)


    Is there any option or CSS I can use to entirely deactivate line break in the month view?

    THANKS!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author room34

    (@room34)

    Sounds like you’re referring to the space that shows the end time for events on hover.

    This is mostly an issue if the calendar is squeezed into a narrower layout, so if there’s any way in your theme to let it fill the width of the screen, the end times will mostly fit on the same line as the start time.

    There’s also an option to hide the end times altogether: hideendtimes="true". (I think that’s it; I’m replying here on my phone so I don’t have easy access to confirm it. Check the User Guide on the plugin’s admin screen to verify.)

    Thread Starter dd005

    (@dd005)

    Actually, that was not what I meant. Sorry for describing it so inaccurate – my fault.

    Right now, the calendar divides words both in the title and the description with a hyphen at the end of a line – like one would usually do in a text. I would be interested in a possibility (e.g. code-snippet) to deactivate this altogether.

    Thank you for your super-quick response – as always!

    Plugin Author room34

    (@room34)

    Ah, got it! Yes, I have it hyphenating because of the small space the text is being fit into. Here’s some CSS you can use to undo that:

    .ics-calendar .event * {
    	-ms-word-break: none;
    	word-break: none;
    	-webkit-hyphens: none;
    	-moz-hyphens: none;
    	-ms-hyphens: none;
    	hyphens: none;
    }
    Thread Starter dd005

    (@dd005)

    Thank you very much – works perfectly.

    Btw: You’re right, most of the time, hyphenating looks far better.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deactivate line break’ is closed to new replies.