Skip to content

Commit

Permalink
✨ fix: Group节点选中样式 (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: jiangchu <[email protected]>
  • Loading branch information
ModestFun and jiangchu authored Oct 26, 2023
1 parent c562b1c commit 8931967
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BloodGroupNode/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const BloodNodeGroup: React.FC<BloodNodeGroupProps> = ({
_node.des = data.describe;
return GroupItem(_node);
})}
<div className={styles.btnWrap}></div>
<div className={`${styles.btnWrap} buttonWrap`}></div>
<div className={styles.btn}>
查看更多
<img
Expand Down
16 changes: 15 additions & 1 deletion src/BloodGroupNode/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const useStyles = createStyles(({ css }) => ({
box-sizing: border-box;
padding: 16px 12px;
background: #fff;
margin-bottom: 24px;
margin-bottom: 26px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.04);
box-shadow: 0 4px 6px -2px rgba(25, 15, 15, 0.05), 0 0 1px 0 rgba(0, 0, 0, 0.08);
Expand Down Expand Up @@ -107,6 +107,13 @@ export const useStyles = createStyles(({ css }) => ({
box-shadow: 0 0 0 3px #1677ff, 0 1px 4px 1px rgba(0, 0, 0, 8%) !important;
.buttonWrap {
width: 100%;
height: 70px;
position: absolute;
bottom: 0;
left: 0;
z-index: 11;
opacity: 0.7;
background-color: #ecf3fe;
}
`,
Expand All @@ -115,6 +122,13 @@ export const useStyles = createStyles(({ css }) => ({
background-color: #ecf3fe;
.buttonWrap {
width: 100%;
height: 70px;
position: absolute;
bottom: 0;
left: 0;
z-index: 11;
opacity: 0.7;
background-color: #ecf3fe;
}
`,
Expand Down

0 comments on commit 8931967

Please sign in to comment.