Skip to content

Commit 0de18c8

Browse files
committed
Fixed issue-#2653 No Validation for sketch file rename Updated
1 parent a2a7f98 commit 0de18c8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/modules/IDE/components/SketchList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class SketchListRowBase extends React.Component {
303303
onBlur={this.handleRenameBlur}
304304
onClick={(e) => e.stopPropagation()}
305305
ref={this.renameInput}
306-
maxLength={100}
306+
maxLength={128}
307307
/>
308308
)}
309309
</React.Fragment>

client/styles/components/_sketch-list.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040

4141
> th {
4242
padding-left: 0;
43-
width: 100%;
4443
font-weight: bold;
4544
margin-bottom: #{6 / $base-font-size}rem;
4645
}
@@ -167,6 +166,9 @@
167166

168167
.sketches-table th {
169168
font-weight: normal;
169+
max-width:8rem;
170+
padding-right:1rem;
171+
overflow-wrap: break-word;
170172
}
171173

172174
.sketch-list__dropdown-button {

0 commit comments

Comments
 (0)