Skip to content

Commit aa5499c

Browse files
committed
fix(editor): don't accidentally apply the list item padding to all items on DOM
1 parent fe31b8f commit aa5499c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/frontend/editor-ui/src/components/Folders/MoveToFolderDropdown.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ const isTopLevelFolder = (location: ChangeLocationSearchResult, index: number) =
191191
max-width: 90%;
192192
overflow: hidden;
193193
white-space: nowrap;
194+
195+
li {
196+
padding: var(--spacing-4xs) var(--spacing-5xs) var(--spacing-5xs);
197+
}
194198
}
195199
196200
.list {
@@ -199,10 +203,6 @@ const isTopLevelFolder = (location: ChangeLocationSearchResult, index: number) =
199203
align-items: center;
200204
}
201205
202-
li {
203-
padding: var(--spacing-4xs) var(--spacing-5xs) var(--spacing-5xs);
204-
}
205-
206206
.item,
207207
.item * {
208208
display: block;

0 commit comments

Comments
 (0)