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
playground:vertical_space [2021/08/01 11:42] adminplayground:vertical_space [2021/08/01 14:28] (current) admin
Line 1: Line 1:
 +==== Question ====
 +
 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.
  
Line 21: Line 23:
 </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>
 +
 +==== Answer ====
 +
 +Add the following to /etc/dokuwiki/userstyle.css
 +<code>
 +div.plugin_wrap ul { margin-bottom: 0px; }
 +</code>
  
 +==== Credits ====
 +Thanks to mboehn on the irc channel who helped me with the solution.
playground/vertical_space.1627818153.txt.gz · Last modified: 2021/08/01 11:42 by admin