forked from opentiny/tiny-vue
fix(vue-component): [mind-map] border-radius & border (#1510)
* fix(mind-map): border-radius & border * refactor(mind-map): move style to theme * style(mind-map): indent to two spaces
This commit is contained in:
parent
02f91603df
commit
68c189bd65
|
@ -0,0 +1,33 @@
|
|||
.map-container {
|
||||
.map-canvas {
|
||||
span {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
me-root {
|
||||
me-tpc {
|
||||
#input-box {
|
||||
border-radius: var(--root-radius);
|
||||
}
|
||||
}
|
||||
|
||||
.selected {
|
||||
#input-box {
|
||||
box-shadow: 0 0 0 4px var(--selected);
|
||||
border: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
me-main>me-wrapper>me-parent>me-tpc {
|
||||
border: unset;
|
||||
box-shadow: unset;
|
||||
|
||||
#input-box {
|
||||
border-radius: var(--main-radius);
|
||||
box-shadow: 0 0 0 4px var(--selected);
|
||||
border: unset;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
import MindMap from './src/index'
|
||||
import { version } from './package.json'
|
||||
import '@opentiny/vue-theme/mind-map/index.less'
|
||||
|
||||
MindMap.model = {
|
||||
prop: 'modelValue',
|
||||
|
|
Loading…
Reference in New Issue