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;
|
||||
|
||||
@ -597,7 +597,7 @@ export class Navigation extends React.Component<
|
||||
if (isOverflow) {
|
||||
const {
|
||||
maxVisibleCount,
|
||||
overflowIndicator = 'fa fa-ellipsis',
|
||||
overflowIndicator = 'fa fa-ellipsis-h',
|
||||
overflowLabel,
|
||||
overflowClassName
|
||||
} = link.overflow;
|
||||
@ -613,7 +613,7 @@ export class Navigation extends React.Component<
|
||||
{getIcon(overflowIndicator!) ? (
|
||||
<Icon icon={overflowIndicator} className="icon" />
|
||||
) : (
|
||||
generateIcon(cx, overflowIndicator, 'Nav-itemIcon')
|
||||
generateIcon(cx, overflowIndicator, 'Nav-item-icon')
|
||||
)}
|
||||
{overflowLabel && isObject(overflowLabel)
|
||||
? render('nav-overflow-label', overflowLabel)
|
||||
@ -690,7 +690,7 @@ export class Navigation extends React.Component<
|
||||
let overflowedIndicator = null;
|
||||
if (overflow && isObject(overflow) && overflow.enable) {
|
||||
const {
|
||||
overflowIndicator = 'fa fa-ellipsis',
|
||||
overflowIndicator = 'fa fa-ellipsis-h',
|
||||
overflowLabel,
|
||||
overflowClassName
|
||||
} = overflow;
|
||||
|
Loading…
Reference in New Issue
Block a user