playground:vertical_space
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
playground:vertical_space [2021/08/01 11:36] – created admin | playground: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. | ||
+ | |||
+ | 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 ^ | ||
| Alpha | B.1.1.7 | < | | Alpha | B.1.1.7 | < | ||
Line 17: | Line 23: | ||
</ | </ | ||
+ | FWIW, I am currently using | ||
+ | < | ||
+ | $ cat / | ||
+ | |||
+ | /* To move the list up | ||
+ | * | ||
+ | * Ref: | ||
+ | | ||
+ | | ||
+ | */ | ||
+ | .page p + ul { | ||
+ | margin-top: -1.4em; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Answer ==== | ||
+ | |||
+ | Add the following to / | ||
+ | < | ||
+ | div.plugin_wrap ul { margin-bottom: | ||
+ | </ | ||
+ | |||
+ | ==== Credits ==== | ||
+ | Thanks to mboehn on the irc channel who helped me with the solution. |
playground/vertical_space.1627817797.txt.gz · Last modified: 2021/08/01 11:36 by admin