diff --git a/src/views/Editor/SelectPanel.vue b/src/views/Editor/SelectPanel.vue index db5f7e37..b8978255 100644 --- a/src/views/Editor/SelectPanel.vue +++ b/src/views/Editor/SelectPanel.vue @@ -57,7 +57,7 @@ @dblclick="enterEdit(item.id)" > @@ -41,7 +42,9 @@ @keydown.enter.stop="$event => saveSection($event)" v-if="editingSectionId === element?.sectionTag?.id || (index === 0 && editingSectionId === 'default')" > - {{ element?.sectionTag ? (element?.sectionTag?.title || '无标题节') : '默认节' }} + +
{{ element?.sectionTag ? (element?.sectionTag?.title || '无标题节') : '默认节' }}
+
{ } .text { - width: 100%; - display: inline-block; display: flex; align-items: center; position: relative; - @include ellipsis-oneline(); &::before { content: ''; @@ -507,6 +507,11 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => { border-right: 3px solid #555; margin-right: 5px; } + + .text-content { + display: inline-block; + @include ellipsis-oneline(); + } } input {