Aligning dataview column text to the top

Things I have tried

What I’m trying to do

Hello. I’ve been scouring the forums for days but to no avail. I have a dataview table and want the text in the columns to be aligned to the top, rather than the middle. Apologies if this seems like a simple task. I tried using a css snippet and it didn’t work. Any suggestions …

Are you familiar with how to use CSS snippets in Obsidian?

This snippet will align Dataview tables to the top:

.obsidian/snippets/table-cell-align-top.css

.table-view-table > tbody > tr > td {
    vertical-align: top;
}
2 Likes

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