File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
lowcoder-design/src/components
lowcoder/src/pages/editor/bottom Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const TextWrapper = styled.div`
53
53
white-space: nowrap;
54
54
`;
55
55
const EditIcon = styled(Edit)`
56
- visibility: hidden;
56
+ // visibility: hidden;
57
57
margin-left: 8px;
58
58
flex-shrink: 0;
59
59
`;
@@ -130,13 +130,15 @@ export const EditText = (props: EditTextProps) => {
130
130
<TextWrapper className={"taco-edit-text-body"} title={props.text}>
131
131
{props.text}
132
132
</TextWrapper>
133
- <EditIcon
134
- onClick={(e) => {
135
- e.stopPropagation();
136
- !props.disabled && setEditing(true);
137
- }}
138
- className={"taco-edit-text-icon"}
139
- />
133
+ {props.forceClickIcon && !props.disabled && (
134
+ <EditIcon
135
+ onClick={(e) => {
136
+ e.stopPropagation();
137
+ !props.disabled && setEditing(true);
138
+ }}
139
+ className={"taco-edit-text-icon"}
140
+ />
141
+ )}
140
142
</EditTextWrapper>
141
143
)}
142
144
{props.prefixIcon && <Prefix>{props.prefixIcon}</Prefix>}
Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ export function BottomSidebar(props: BottomSidebarProps) {
320
320
}
321
321
322
322
const HighlightBorder = styled.div<{ $active: boolean; $foldable: boolean; $level: number }>`
323
+ max-width: 100%;
323
324
flex: 1;
324
325
display: flex;
325
326
padding-left: ${(props) => props.$level * 20 + (props.$foldable ? 0 : 14)}px;
You can’t perform that action at this time.
0 commit comments