style(font): font size 14
This commit is contained in:
@@ -2,7 +2,7 @@ import { createFromIconfontCN } from '@ant-design/icons';
|
||||
// import './iconfont/iconfont.js';
|
||||
|
||||
const IconFont = createFromIconfontCN({
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_ivr9tor4zfm.js'
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_f316s64919m.js'
|
||||
});
|
||||
|
||||
export default IconFont;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DownOutlined, RightOutlined } from '@ant-design/icons';
|
||||
import IconFont from '@/components/icon-font';
|
||||
import { Button, Checkbox } from 'antd';
|
||||
import _ from 'lodash';
|
||||
import React from 'react';
|
||||
@@ -28,7 +28,11 @@ const RowPrefix: React.FC<RowPrefixProps> = (props) => {
|
||||
<span style={{ marginRight: 5 }}>
|
||||
{_.isBoolean(expandable) ? (
|
||||
<Button type="text" size="small" onClick={handleRowExpand}>
|
||||
{expanded ? <DownOutlined /> : <RightOutlined />}
|
||||
<IconFont
|
||||
type="icon-down"
|
||||
rotate={expanded ? 0 : -90}
|
||||
className="size-14"
|
||||
></IconFont>
|
||||
</Button>
|
||||
) : (
|
||||
expandable
|
||||
@@ -43,7 +47,11 @@ const RowPrefix: React.FC<RowPrefixProps> = (props) => {
|
||||
<div className="row-prefix-wrapper">
|
||||
{_.isBoolean(expandable) ? (
|
||||
<Button type="text" size="small" onClick={handleRowExpand}>
|
||||
{expanded ? <DownOutlined /> : <RightOutlined />}
|
||||
<IconFont
|
||||
type="icon-down"
|
||||
rotate={expanded ? 0 : -90}
|
||||
className="size-14"
|
||||
></IconFont>
|
||||
</Button>
|
||||
) : (
|
||||
expandable
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
min-width: 76px;
|
||||
width: max-content;
|
||||
height: 24px;
|
||||
font-size: var(--font-size-base);
|
||||
font-size: var(--font-size-small);
|
||||
overflow: hidden;
|
||||
|
||||
.txt {
|
||||
|
||||
Reference in New Issue
Block a user