mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 富文本字体属性过长时Select样式异常
This commit is contained in:
parent
fdcffb3207
commit
d09cc072f0
@ -93,6 +93,7 @@
|
||||
<template v-if="handleShapeElement.text?.content">
|
||||
<InputGroup compact class="row">
|
||||
<Select
|
||||
class="font-select"
|
||||
style="flex: 3;"
|
||||
:value="richTextAttrs.fontname"
|
||||
@change="value => emitRichTextCommand('fontname', value as string)"
|
||||
@ -407,6 +408,9 @@ const emitRichTextCommand = (command: string, value?: string) => {
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.font-select {
|
||||
max-width: 50%;
|
||||
}
|
||||
.font-size-btn {
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
<InputGroup compact class="row">
|
||||
<Select
|
||||
class="font-select"
|
||||
style="flex: 3;"
|
||||
:value="richTextAttrs.fontname"
|
||||
@change="value => emitRichTextCommand('fontname', value as string)"
|
||||
@ -560,6 +561,9 @@ const updateLink = (link?: string) => {
|
||||
margin-top: -1px;
|
||||
}
|
||||
}
|
||||
.font-select {
|
||||
max-width: 50%;
|
||||
}
|
||||
.font-size-btn {
|
||||
padding: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user