优化:工具条按钮平均分布铺满整个高度
- 移除固定 padding 和 justify-content: flex-start - 按钮加 flex:1 自动均分高度,视觉效果更整洁
This commit is contained in:
@@ -91,11 +91,9 @@ a:hover {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 40px 0 2px 0;
|
||||
padding: 0;
|
||||
border-left: 1px solid var(--border-blue);
|
||||
border-right: 1px solid var(--border-blue);
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -109,6 +107,7 @@ a:hover {
|
||||
text-align: center;
|
||||
transition: all 0.15s;
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -626,4 +625,4 @@ a:hover {
|
||||
.avatar-option.selected {
|
||||
border-color: #336699;
|
||||
box-shadow: 0 0 6px rgba(51, 102, 153, 0.5);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user