fix
This commit is contained in:
@@ -252,8 +252,13 @@ const DocumentsPanel = ({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!resolvedKey && navigableRows.length) {
|
if (!resolvedKey) {
|
||||||
resolvedKey = navigableRows[0].key;
|
if (!selectedEntries.length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (navigableRows.length) {
|
||||||
|
resolvedKey = navigableRows[0].key;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!resolvedKey) {
|
if (!resolvedKey) {
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
--documents-list-row-height: calc(48px + 0.2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags-panel,
|
.tags-panel,
|
||||||
@@ -404,6 +405,11 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.documents-panel tbody tr.document > *,
|
||||||
|
.documents-panel tbody tr.folder > * {
|
||||||
|
height: var(--documents-list-row-height);
|
||||||
|
}
|
||||||
|
|
||||||
.documents-panel tbody tr.document.selected,
|
.documents-panel tbody tr.document.selected,
|
||||||
.documents-panel tbody tr.folder.selected {
|
.documents-panel tbody tr.folder.selected {
|
||||||
background: var(--selection-soft);
|
background: var(--selection-soft);
|
||||||
|
|||||||
Reference in New Issue
Block a user