fix(web): 面包屑条目与分隔图标垂直居中对齐
不同字号图标(15px 条目图标/12px 分隔箭头/14px 文字)在行内 基线对齐时视觉中心错位,改为 flex 垂直居中。
This commit is contained in:
@@ -173,6 +173,17 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 条目与分隔图标按垂直中心对齐,避免不同字号图标基线错位 */
|
||||||
|
.page-breadcrumb ol {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-breadcrumb li {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.page-breadcrumb .ant-breadcrumb-link {
|
.page-breadcrumb .ant-breadcrumb-link {
|
||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user