Skip to content

Commit b8b33c5

Browse files
committed
feat: optimize img style
1 parent 73b1971 commit b8b33c5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
pointer-events: none;
246246
display: block;
247247
margin-top: 8px;
248+
object-fit: cover;
248249
}
249250

250251
.circle {

src/nodeOperation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from './utils/index'
1515
import { findEle, createExpander, shapeTpc } from './utils/dom'
1616
import { deepClone } from './utils/index'
17-
import type { Topic, Wrapper, CustomSvg } from './types/dom'
17+
import type { Topic, Wrapper } from './types/dom'
1818
import type { MindElixirInstance, NodeObj } from './types/index'
1919
import { LEFT, RIGHT, SIDE } from './const'
2020

0 commit comments

Comments
 (0)