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:
GaoNeng 2024-04-02 16:15:58 +08:00 committed by GitHub
parent 02f91603df
commit 68c189bd65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

View File

@ -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;
}
}
}

View File

@ -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',