Merge branch 'main' of github.com:maxkb-dev/maxkb

This commit is contained in:
shaohuzhang1 2024-02-29 16:14:34 +08:00
commit a0fcf300f4
4 changed files with 9 additions and 5 deletions

View File

@ -87,6 +87,10 @@ defineExpose({ open })
</script>
<style lang="scss">
.paragraph-source {
padding: 0;
.el-dialog__header {
padding: 24px 24px 0 24px;
}
.el-dialog__body {
padding: 8px !important;
}

View File

@ -305,3 +305,6 @@
.el-popover {
--el-popover-padding: 16px;
}
.el-radio__input.is-checked + .el-radio__label {
color: var(--app-text-color);
}

View File

@ -199,9 +199,6 @@ defineExpose({
position: absolute;
top: 16px;
}
:deep(.el-radio__input.is-checked + .el-radio__label) {
color: var(--app-text-color);
}
.active {
border: 1px solid var(--el-color-primary);
}

View File

@ -9,7 +9,7 @@
>
<el-form-item label="分段标题">
<el-input v-if="isEdit" v-model="form.title" placeholder="请输入分段标题"> </el-input>
<span v-else>{{ form.title || '-' }}</span>
<span class="lighter" v-else>{{ form.title || '-' }}</span>
</el-form-item>
<el-form-item label="分段内容" prop="content">
<el-input
@ -22,7 +22,7 @@
type="textarea"
>
</el-input>
<span v-else class="break-all">{{ form.content }}</span>
<span v-else class="break-all lighter">{{ form.content }}</span>
</el-form-item>
</el-form>
</template>