@lvce-editor/explorer-view 7.16.0 → 7.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7183,6 +7183,7 @@ const getExplorerItemVirtualDom = (item, editingSessionId = 0) => {
|
|
|
7183
7183
|
hasEditingError,
|
|
7184
7184
|
icon,
|
|
7185
7185
|
id,
|
|
7186
|
+
indent,
|
|
7186
7187
|
index,
|
|
7187
7188
|
isCut,
|
|
7188
7189
|
isEditing,
|
|
@@ -7206,6 +7207,8 @@ const getExplorerItemVirtualDom = (item, editingSessionId = 0) => {
|
|
|
7206
7207
|
'data-index': index,
|
|
7207
7208
|
draggable: true,
|
|
7208
7209
|
id,
|
|
7210
|
+
// Keep the item aligned even when the generated indent stylesheet is applied late.
|
|
7211
|
+
paddingLeft: indent,
|
|
7209
7212
|
role: TreeItem,
|
|
7210
7213
|
title: getTitle(path),
|
|
7211
7214
|
type: Div
|