obsidian-dataview
obsidian-dataview copied to clipboard
Bug report: Avoid using !important for hover state
What happened?
Dataview uses !important to highlight active rows. This can cause conflicts for some themes.
.table-view-table > tbody > tr:hover {
background-color: var(--text-selection) !important;
}
Note that in Obsidian 0.16 there is now a variable --table-row-background-hover that can be used to set this property
DQL
No response
JS
No response
Dataview Version
0.5.46
Obsidian Version
0.16.2
OS
MacOS
I see - I think I made this change in the first place due to theme conflicts, since the theme tends to win over plugin code.