调整
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
display: inline-flex;
|
||||
/* 改为inline-flex,宽度由子元素决定 */
|
||||
position: relative;
|
||||
border-bottom: 1px solid #cbcfd8;
|
||||
border-bottom: 1px solid #909399;
|
||||
margin: 0 auto;
|
||||
width: 1.75rem;
|
||||
display: flex;
|
||||
@@ -36,10 +36,10 @@
|
||||
.tab-indicator {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 2px;
|
||||
height:1px;
|
||||
background-color: #fff;
|
||||
transform: translateX(0);
|
||||
width: 0.87rem;
|
||||
width: auto;
|
||||
transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
|
||||
width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
|
||||
will-change: transform, width;
|
||||
|
||||
Reference in New Issue
Block a user