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`
5353 white-space: nowrap;
5454` ;
5555const EditIcon = styled ( Edit ) `
56- visibility: hidden;
56+ // visibility: hidden;
5757 margin-left: 8px;
5858 flex-shrink: 0;
5959` ;
@@ -130,13 +130,15 @@ export const EditText = (props: EditTextProps) => {
130130 < TextWrapper className = { "taco-edit-text-body" } title = { props . text } >
131131 { props . text }
132132 </ 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+ ) }
140142 </ EditTextWrapper >
141143 ) }
142144 { 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) {
320320}
321321
322322const HighlightBorder = styled . div < { $active : boolean ; $foldable : boolean ; $level : number } > `
323+ max-width: 100%;
323324 flex: 1;
324325 display: flex;
325326 padding-left: ${ ( props ) => props . $level * 20 + ( props . $foldable ? 0 : 14 ) } px;
You can’t perform that action at this time.
0 commit comments