Skip to content

Commit 6cf5b0c

Browse files
committed
fix frame bug
1 parent 2ca7581 commit 6cf5b0c

File tree

1 file changed

+34
-11
lines changed

1 file changed

+34
-11
lines changed

contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@
2626
<span>{{ $tr('publishingInfo', { version: currentChannel.version, time: formattedPublishTime }) }}</span>
2727
</div>
2828

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>
4042

4143
<div v-if="incompleteResourcesCount > 0" class="form-section warning-section">
4244
<div class="warning-content">
@@ -241,4 +243,25 @@ export default {
241243
color: #6c757d;
242244
line-height: 1.4;
243245
}
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+
}
244267
</style>

0 commit comments

Comments
 (0)