Skip to content

Commit fd7edcb

Browse files
committed
tidy up
1 parent fcf8799 commit fd7edcb

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

packages/repl/src/lib/Input/ComponentSelector.svelte

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,33 @@
216216
background-size: 1em;
217217
}
218218
219+
.remove {
220+
position: absolute;
221+
display: none;
222+
right: 1px;
223+
top: 4px;
224+
width: 16px;
225+
text-align: right;
226+
padding: 12px 0 12px 5px;
227+
font-size: 8px;
228+
cursor: pointer;
229+
}
230+
231+
&.drag-over {
232+
background: #67677814;
233+
cursor: move;
234+
}
235+
219236
&.active {
220237
border-bottom: 1px solid var(--sk-fg-accent);
238+
239+
.editable {
240+
cursor: text;
241+
}
242+
243+
.remove {
244+
display: block;
245+
}
221246
}
222247
}
223248
@@ -244,34 +269,6 @@
244269
}
245270
}
246271
247-
.remove {
248-
position: absolute;
249-
display: none;
250-
right: 1px;
251-
top: 4px;
252-
width: 16px;
253-
text-align: right;
254-
padding: 12px 0 12px 5px;
255-
font-size: 8px;
256-
cursor: pointer;
257-
}
258-
259-
.file-tabs .button.active .editable {
260-
cursor: text;
261-
}
262-
263-
.file-tabs .button.active .remove {
264-
display: block;
265-
}
266-
267-
.file-tabs .button.drag-over {
268-
background: #67677814;
269-
}
270-
271-
.file-tabs .button.drag-over {
272-
cursor: move;
273-
}
274-
275272
.add-new {
276273
padding: 12px 10px 8px 8px;
277274
height: 40px;

0 commit comments

Comments
 (0)