Merge pull request #7165 from igrowp/fix-style

Fix: 配置面板字体调整 & CRUD列支持fx
This commit is contained in:
wutong 2023-06-14 15:44:25 +08:00 committed by GitHub
commit 85810fea45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -321,6 +321,8 @@ $tooltip-bottom: '[data-tooltip][data-position=' bottom ']:hover:after';
width: 100%;
--Tabs--line-active-fontSize: 14px;
--Tabs--line-fontSize: 14px;
--Tabs--line-hover-fontSize: 14px;
--Tabs--line-disabled-fontSize: 14px;
letter-spacing: 0;
font-weight: 400;
text-decoration: none;

View File

@ -81,7 +81,7 @@
}
&-fxIcon {
> a {
font-size: 18px;
font-size: 14px;
}
}
}
@ -130,7 +130,7 @@
}
&-fxIcon {
> a {
font-size: 28px;
font-size: 20px;
}
}
}

View File

@ -101,16 +101,15 @@ export class PlainPlugin extends BasePlugin {
{
title: '基本',
body: [
{
getSchemaTpl('textareaFormulaControl', {
name: 'tpl',
label: '内容',
type: 'textarea',
mode: 'col',
mode: 'normal',
pipeIn: (value: any, data: any) =>
value || (data && data.text),
name: 'tpl',
description:
'如果当前字段有值,请不要设置,否则覆盖。支持使用 <code>\\${xxx}</code> 来获取变量,或者用 lodash.template 语法来写模板逻辑。<a target="_blank" href="/amis/zh-CN/docs/concepts/template">详情</a>'
},
}),
getSchemaTpl('placeholder', {
pipeIn: defaultValue('-'),
label: '占位符'