Skip to content

Commit

Permalink
Merge branch 'dev' into feature/styletypes-improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
FalkWolsky authored Jan 15, 2024
2 parents 0ece0bf + c8282d1 commit 952da2f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions client/packages/lowcoder-design/src/components/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const TextWrapper = styled.div`
white-space: nowrap;
`;
const EditIcon = styled(Edit)`
visibility: hidden;
// visibility: hidden;
margin-left: 8px;
flex-shrink: 0;
`;
Expand Down Expand Up @@ -130,13 +130,15 @@ export const EditText = (props: EditTextProps) => {
<TextWrapper className={"taco-edit-text-body"} title={props.text}>
{props.text}
</TextWrapper>
<EditIcon
onClick={(e) => {
e.stopPropagation();
!props.disabled && setEditing(true);
}}
className={"taco-edit-text-icon"}
/>
{props.forceClickIcon && !props.disabled && (
<EditIcon
onClick={(e) => {
e.stopPropagation();
!props.disabled && setEditing(true);
}}
className={"taco-edit-text-icon"}
/>
)}
</EditTextWrapper>
)}
{props.prefixIcon && <Prefix>{props.prefixIcon}</Prefix>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export function BottomSidebar(props: BottomSidebarProps) {
}

const HighlightBorder = styled.div<{ $active: boolean; $foldable: boolean; $level: number }>`
max-width: 100%;
flex: 1;
display: flex;
padding-left: ${(props) => props.$level * 20 + (props.$foldable ? 0 : 14)}px;
Expand Down

0 comments on commit 952da2f

Please sign in to comment.