Skip to content

Commit 8470d7c

Browse files
fix: Rename field should use full available width #2337 (#2436)
1 parent b774084 commit 8470d7c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/generic/inplace-text-editor/InplaceTextEditor.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@
44
-webkit-box-orient: vertical;
55
overflow: hidden;
66
}
7+
8+
.inplace-text-editor-with-edit-input {
9+
width: 100%;
10+
}
11+
12+
.inplace-text-editor-with-edit-input:focus-within {
13+
:has(&) {
14+
width: 100%;
15+
}
16+
}
17+

src/generic/inplace-text-editor/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export const InplaceTextEditor: React.FC<InplaceTextEditorProps> = ({
7878
<Stack
7979
direction="horizontal"
8080
gap={1}
81+
className="inplace-text-editor-with-edit-input"
8182
>
8283
{inputIsActive
8384
? (

0 commit comments

Comments
 (0)