How to avoid break of first column in a table?

What I’m trying to do

In my daily note I have a table where I keep track of what I do, like:

Session Task Distraction
13:00 - 14:00 Studied relationship between homeless rate and criminality rate in Uganda. My friend called and I had to stay at telephone for ~10 minutes.

As you see, on my screen the first column break at “13:00 -”, I would like to have “13:00 - 14:00” in the same line.

Things I have tried

I have solved the problem with a <nobr>, like this:

|Session|Task|Distraction|
|---|---|---|
|<nobr>13:00 - 14:00|Studied relationship between homeless rate and criminality rate in Uganda.|My friend called and I had to stay at telephone  for ~10 minutes.|
|...|...|...

This does solve the issue, but I have to type that almost every new line I add… Is there some css snippet I can use to force the first column of every table to never be wrapped?

Thank’s.

1 Like

Apologies. Misread your post. Ignore me. :grimacing:

Anyone?

You should be able to use a CSS snippet to either add no break to the first columns, or set a fixed width for tables such as this. Do note that this would cause any table to have these settings, or at least all tables on the page where you specify a css class containing such settings.

I might be able to mock up some CSS code later on today, but I’ve been very busy lately, so don’t hold your breath, but using something like the code below should work in your case:

Thanks, anyway don’t worry, I already found a solution.

Hi, What was the solution?

With the new monitor I had to decrease font size, hence there was more space and text fitted properly.

Guess it’s not a good solution, hence why I didn’t share ir

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.