File tree Expand file tree Collapse file tree 1 file changed +34
-11
lines changed
contentcuration/contentcuration/frontend/channelEdit/components/sidePanels Expand file tree Collapse file tree 1 file changed +34
-11
lines changed Original file line number Diff line number Diff line change 26
26
<span >{{ $tr('publishingInfo', { version: currentChannel.version, time: formattedPublishTime }) }}</span >
27
27
</div >
28
28
29
- <div class =" form-section" >
30
- <label class =" label" >{{ $tr('versionNotesLabel') }}</label >
31
- <VTextarea
32
- :label =" $tr('versionNotesLabel')"
33
- :rows =" 4"
34
- v-model =" version_notes"
35
- :counter =" 30"
36
- :rules =" [v => v.length <= 30 || $tr('maxLengthError')]"
37
- box
38
- />
39
- </div >
29
+ <div class =" form-section" style =" width : 100% ; max-width : 100% ;" >
30
+ <div class =" textarea-container" >
31
+ <label class =" label" >{{ $tr('versionNotesLabel') }}</label >
32
+ <textarea
33
+ v-model =" version_notes"
34
+ :rows =" 4"
35
+ :maxlength =" 30"
36
+ class =" custom-textarea"
37
+ :placeholder =" $tr('versionNotesLabel')"
38
+ ></textarea >
39
+ <div class =" char-counter" >{{ version_notes.length }} / 30</div >
40
+ </div >
41
+ </div >
40
42
41
43
<div v-if =" incompleteResourcesCount > 0" class =" form-section warning-section" >
42
44
<div class =" warning-content" >
@@ -241,4 +243,25 @@ export default {
241
243
color : #6c757d ;
242
244
line-height : 1.4 ;
243
245
}
246
+ .textarea-container {
247
+ width : 100% ;
248
+ }
249
+ .custom-textarea {
250
+ width : 100% ;
251
+ min-height : 100px ;
252
+ padding : 12px ;
253
+ border : 1px solid #e0e0e0 ;
254
+ border-radius : 4px ;
255
+ font-family : inherit ;
256
+ font-size : 14px ;
257
+ line-height : 1.5 ;
258
+ resize : vertical ;
259
+ box-sizing : border-box ;
260
+ }
261
+ .char-counter {
262
+ text-align : center ;
263
+ color : #666 ;
264
+ font-size : 12px ;
265
+ margin-top : 4px ;
266
+ }
244
267
</style >
You can’t perform that action at this time.
0 commit comments