We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b43cb3 commit c5feeddCopy full SHA for c5feedd
1 file changed
components/Window.vue
@@ -109,9 +109,9 @@
109
ref="titleInput"
110
v-model="title"
111
:readonly="preview"
112
+ :size="title.length || 1"
113
@blur="editingTitle = false"
114
@keyup.enter="$refs.titleInput.blur()"
- :style="{ width: `${title.length / 1.5}em` }"
115
:class="{ 'cursor-pointer pointer-events-none': preview }"
116
class="p-0 text-sm font-medium text-center bg-transparent border-0 appearance-none shadow-none focus:ring-0"
117
/>
0 commit comments