mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
fix: nav收纳图标样式问题修复 (#6821)
Co-authored-by: wanglinfang <wanglinfang@MacBook-Pro.local>
This commit is contained in:
parent
f299743428
commit
ff7084ed9d
@ -103,7 +103,7 @@ export interface NavOverflow {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 菜单触发按钮的图标
|
* 菜单触发按钮的图标
|
||||||
* @default "fa fa-ellipsis"
|
* @default "fa fa-ellipsis-h"
|
||||||
*/
|
*/
|
||||||
overflowIndicator?: SchemaIcon;
|
overflowIndicator?: SchemaIcon;
|
||||||
|
|
||||||
@ -597,7 +597,7 @@ export class Navigation extends React.Component<
|
|||||||
if (isOverflow) {
|
if (isOverflow) {
|
||||||
const {
|
const {
|
||||||
maxVisibleCount,
|
maxVisibleCount,
|
||||||
overflowIndicator = 'fa fa-ellipsis',
|
overflowIndicator = 'fa fa-ellipsis-h',
|
||||||
overflowLabel,
|
overflowLabel,
|
||||||
overflowClassName
|
overflowClassName
|
||||||
} = link.overflow;
|
} = link.overflow;
|
||||||
@ -613,7 +613,7 @@ export class Navigation extends React.Component<
|
|||||||
{getIcon(overflowIndicator!) ? (
|
{getIcon(overflowIndicator!) ? (
|
||||||
<Icon icon={overflowIndicator} className="icon" />
|
<Icon icon={overflowIndicator} className="icon" />
|
||||||
) : (
|
) : (
|
||||||
generateIcon(cx, overflowIndicator, 'Nav-itemIcon')
|
generateIcon(cx, overflowIndicator, 'Nav-item-icon')
|
||||||
)}
|
)}
|
||||||
{overflowLabel && isObject(overflowLabel)
|
{overflowLabel && isObject(overflowLabel)
|
||||||
? render('nav-overflow-label', overflowLabel)
|
? render('nav-overflow-label', overflowLabel)
|
||||||
@ -690,7 +690,7 @@ export class Navigation extends React.Component<
|
|||||||
let overflowedIndicator = null;
|
let overflowedIndicator = null;
|
||||||
if (overflow && isObject(overflow) && overflow.enable) {
|
if (overflow && isObject(overflow) && overflow.enable) {
|
||||||
const {
|
const {
|
||||||
overflowIndicator = 'fa fa-ellipsis',
|
overflowIndicator = 'fa fa-ellipsis-h',
|
||||||
overflowLabel,
|
overflowLabel,
|
||||||
overflowClassName
|
overflowClassName
|
||||||
} = overflow;
|
} = overflow;
|
||||||
|
Loading…
Reference in New Issue
Block a user