Skip to content

Commit f7cdeca

Browse files
authored
Merge pull request #2656 from gauravsingh94/issue-#2653
Fixes #2653, No Validation for sketch file rename
2 parents 6c466cd + 5fce82f commit f7cdeca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

client/modules/IDE/components/SketchList.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ class SketchListRowBase extends React.Component {
178178
onBlur={this.handleRenameBlur}
179179
onClick={(e) => e.stopPropagation()}
180180
ref={this.renameInput}
181+
maxLength={128}
181182
/>
182183
)}
183184
</React.Fragment>

client/styles/components/_sketch-list.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164

165165
.sketches-table th {
166166
font-weight: normal;
167+
overflow-wrap: break-word;
167168
}
168169

169170
.sketches-table__name {

0 commit comments

Comments
 (0)