style(editor): 修复代码块列表右侧工具栏遮挡代码块名称的样式问题

This commit is contained in:
parisma 2022-11-22 10:31:25 +08:00 committed by roymondchen
parent 13dc3ca259
commit 994cd4133a

View File

@ -35,9 +35,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
.right-tool { .right-tool {
position: absolute; width: fit-content !important;
right: 15px;
padding-left: 5px;
display: flex; display: flex;
align-items: center; align-items: center;
.edit-icon { .edit-icon {
@ -50,7 +48,8 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
padding: 10px 15px; padding: 10px 15px;
margin-right: 60px; width: 0 !important;
flex: 1;
} }
} }
.code-comp-map-wrapper { .code-comp-map-wrapper {