NicoNekoru / obsidan-advanced-table-xt

Plugin that adds features to tables in obsidian including merging, vertical headers, and custom css
Apache License 2.0
92 stars 3 forks source link

Long text in merged cells doesn't wrap properly #49

Closed TCArknight closed 7 months ago

TCArknight commented 7 months ago

I have a table with one long note in a cell that is merged to extend all the way across the table. When there is text in the cell, any wrapped line is over the top of the earlier text. Use paragraphs in cells setting is on. image If the Use Paragraphs in Cells is off, I get this: image This is the table code:

 |  Vehicle  | Size | Handling | Top Speed (MPH) | Toughness | Crew | Cost |
 |  :-------                       | :--:  | :--------: | :----------------:   | :----------: | :----: | :----: |
 |  Air Carriage | 6 (Large) | −2 | 50 | 16 (4) | 2+8 | $5,000 |
 |  **_Notes:_** A small airship that can hold about 2,500 pounds of passengers and cargo. Travels 25 miles per one-pound ghost rock fuel core. | < | < | <  | <  | <  | <  | 
 |  Auto-Gyro | 1 | +2 | 75 | 7 (1) | 1+1 | $1,500 |
 |  **_Notes:_** Travels 25 miles per one-pound ghost rock fuel core. Can carry 200 lbs of passengers or cargo. | < | < | <  | <  | <  | <  | 
 |  Powered Ornithopter | 5 (Large) | +1 | 100 | 11 (2) | 1+3 | $3,000 |
 |  **_Notes:_** Powered ornithopters are steam-powered devices (airplanes in modern parlance) with flapping wings to get them aloft. They’re slow to take off and accelerate, but quite fast once they gain some altitude. Ornithopers require about 100 yards of flat terrain for take-off and landing. They can carry up to 1000 pounds for 50 miles per one-pound ghost rock fuel core (twice that if 200 lbs or less). | < | < | <  | <  | <  | <  | 
 |  Rocket Pack | −2  | +1  | 100  | 3  | 1  | $2,100 |
 |  **_Notes:_** Lifts up to 300 lbs (plus pack’s weight) for 10 min per one-pound ghost rock fuel core. | < | < | <  | <  | <  | <  | 
 |  Super Gyro   |  5 (Large)   | −2/0   | 50  | 10 (2)   | 1+3 | $4,000 |
 | **_Notes:_** Smith & Robards’ famed pilot “Six-Hundred-Pound Sally” pioneered these stout transports. Super-gyros travel 50 miles per one-pound ghost rock fuel core fully loaded, or twice that if empty. Handling is –2 when loaded, and 0 when empty. Can carry 600 lbs of passengers or cargo. | < | < | <  | <  | <  | <  | 
 |  Whirligig (Personal)   |  0  | −1/–2  | 30 | 6 (1)   | 1  | $1,000 |
 | **_Notes:_** Handling is –2 in rough conditions. Lifts 300 lbs for 60 minutes per one-pound ghost rock fuel core. 50% chance any uncalled shot hits the character instead. | < | < | <  | <  | < | <  | 

This occurs even if there are hard breaks <BR> inserted as well.

TCArknight commented 7 months ago

Not an issue! Found I had set --table-line-height: .2em; in my personal theme. once I commented that, the table looks good.

TCArknight commented 7 months ago

not an issue. see above