# How to reduce the space between lines in dataview table?

**URL:** <https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905>\
**Category:** Devs: Theme Design & Custom CSS\
**Tags:** dataview\
**Created:** [March 2, 2024, 8:14am UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905 "2024-03-02T08:14:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeon.h](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jeon.h](https://forum.obsidian.md/u/jeon.h)\
**Post date:** [March 2, 2024, 8:14am UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/1 "2024-03-02T08:14:52Z")

</div>

### What I’m trying to do

I use in-line variables to create dataview tables. The issue is that the line space between bullet points is too big. It wasn’t like this before and I haven’t made any changes to the settings so I think there’s been changes in the plugin itself.

The title of the file is in date form (e.g., 2024-03-02)

 ![image](https://forum.obsidian.md/uploads/default/original/3X/5/e/5e05db935c589001ebd60537313376fbc3368c6b.png)

### Things I have tried

This is the dataview query:

```dataview
table
p as Progress, n as Next, r as Read
from "40 research journal"
where file.name > (this.file.day - dur(1w)) and file.ctime > (this.file.day - dur(1w))
sort file.name DESC 
limit 100

```

---

<div class="post-metadata">

**Author:** ![matraug](https://forum.obsidian.md/user_avatar/forum.obsidian.md/matraug/32/31811_2.png) [@matraug](https://forum.obsidian.md/u/matraug)\
**Post date:** [March 2, 2024, 12:24pm UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/2 "2024-03-02T12:24:12Z")

</div>

I have this same exact problem. It started in the release prior to the current release. I posted a similar issue on the forum and never got a resolution. My partial resolution of the issue was to not use the `-` prior to each entry. It appears the bullet point for each item is the culprit. Looking forward to see if you get any responses to your post.

---

<div class="post-metadata">

**Author:** ![holroy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/holroy/32/77699_2.png) [@holroy](https://forum.obsidian.md/u/holroy)\
**Post date:** [March 9, 2024, 8:53pm UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/3 "2024-03-09T20:53:48Z")

</div>

I just experienced this myself when doing a list within a table cell. Not sure why, but it’s not extremely clean html rendered when we’ve got a block element like `<ul>` within a line element `<span>` within a cell element `<td>`.

With that being said though, I couldn’t find any straight clues in the CSS as to why there was this extra spacing in the lists. However, themes like _Github theme_ and _Minimal_ is capable of removing it, so it is doable, but I just don’t know where to do it.

---

<div class="post-metadata">

**Author:** ![jeon.h](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jeon.h](https://forum.obsidian.md/u/jeon.h)\
**Post date:** [March 19, 2024, 7:56am UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/4 "2024-03-19T07:56:49Z")

</div>

The best I can do for now is this:  
‘Style Settings’ plugin \> Minimal \> Lists and Tasks \> List item spacing \> set to 0.00  
Even so the line height between list items is quite large.

The other method I found is this:  
‘Style Settings’ plugin \> Minimal \> Tables \> Disable Line Wrap (Unselect)  
After unselecting ‘Diable Line Wrap’ the space between the list items become much smaller and natural but I really need to line wrap my tables so this isn’t a solution for me either.

---

<div class="post-metadata">

**Author:** ![jeon.h](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jeon.h](https://forum.obsidian.md/u/jeon.h)\
**Post date:** [March 19, 2024, 7:57am UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/5 "2024-03-19T07:57:54Z")

</div>

I’m using the Minimal theme. Please see the reply I left for @matraug  
Couldn’t find a feasible solution though.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [June 17, 2024, 7:58am UTC](https://forum.obsidian.md/t/how-to-reduce-the-space-between-lines-in-dataview-table/77905/6 "2024-06-17T07:58:48Z")

</div>

Closed on June 17, 2024, 7:58am UTC

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