User Tools

Site Tools


playground:vertical_space

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
playground:vertical_space [2021/08/01 11:40] adminplayground:vertical_space [2021/08/01 11:50] admin
Line 1: Line 1:
 Is there a way to remove the extra line at the end of a list in a table cell? I am using the WRAP plugin to create the list. Is there a way to remove the extra line at the end of a list in a table cell? I am using the WRAP plugin to create the list.
 +
 +For example, in the following table, there is an extra line after each list in the third column. How to get rid of it?
  
 ^ WHO label ^ Covid variant ^ First detected ^ ^ WHO label ^ Covid variant ^ First detected ^
Line 19: Line 21:
 </WRAP> | </WRAP> |
  
 +FWIW, I am currently using
 +<code>
 +$ cat /etc/dokuwiki/userstyle.css 
 +
 +/* To move the list up
 + *
 + * Ref:
 +   https://forum.dokuwiki.org/d/9231-solved-possible-to-avoid-newline-above-list
 +   https://forum.dokuwiki.org/d/15563-suppressing-blank-line-when-starting-a-list/3
 + */
 +.page p + ul {
 +    margin-top: -1.4em;
 +}
 +</code>
playground/vertical_space.txt · Last modified: 2021/08/01 14:28 by admin