Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vue-component): [mind-map] border-radius & border #1510

Merged
merged 3 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions packages/theme/src/mind-map/index.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.map-container {
zzcr marked this conversation as resolved.
Show resolved Hide resolved
.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;
}
}
}
GaoNeng-wWw marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions packages/vue/src/mind-map/index.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
Loading