CSNET commited on
Commit
39f2917
·
verified ·
1 Parent(s): 664793c

รู้สึกว่าเส้นลาก ซ้าย ขวา บน node มันจะสลับกันนะ ช่วยแก้ให้หน่อย

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -230,7 +230,6 @@
230
  height: 1rem;
231
  background: var(--line);
232
  }
233
-
234
  .children .node:first-child::after,
235
  .children .node:last-child::after {
236
  content: "";
@@ -243,13 +242,14 @@
243
 
244
  .children .node:first-child::after {
245
  right: 50%;
 
246
  }
247
 
248
  .children .node:last-child::after {
249
  left: 50%;
 
250
  }
251
-
252
- .hiddenSubtree > .children {
253
  display: none;
254
  }
255
 
 
230
  height: 1rem;
231
  background: var(--line);
232
  }
 
233
  .children .node:first-child::after,
234
  .children .node:last-child::after {
235
  content: "";
 
242
 
243
  .children .node:first-child::after {
244
  right: 50%;
245
+ transform-origin: right;
246
  }
247
 
248
  .children .node:last-child::after {
249
  left: 50%;
250
+ transform-origin: left;
251
  }
252
+ .hiddenSubtree > .children {
 
253
  display: none;
254
  }
255