update 0.10.2

This commit is contained in:
hufeixiong
2021-11-05 11:25:39 +08:00
parent 015383492b
commit 0c953e1d6f
6 changed files with 14 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/dooringx-lib.esm.js",

View File

@@ -53,6 +53,7 @@ const SortableItem = SortableElement(
}}
>
<div
className="yh-timeline-item"
onClick={() => {
const store = value.config.getStore();
const clone = deepcopy(store.getData());
@@ -73,7 +74,7 @@ const SortableItem = SortableElement(
minWidth: leftWidth,
borderRight: borderColor,
borderBottom: borderColor,
backgroundColor: value.value.focus ? '#eeeeee' : 'initial',
backgroundColor: value.value.focus ? 'rgb(118 118 118)' : 'initial',
cursor: 'pointer',
}}
>
@@ -168,7 +169,7 @@ export function TimeLine(props: TimeLineProps) {
return (
<div
className={`${props.classes} ant-menu yh-timeline`}
className={`${props.classes} ant-menu yh-timeline-wrap`}
style={{
width: '100%',
position: 'absolute',