Skip to content

Commit

Permalink
refactor: style of header
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Jul 28, 2024
1 parent f2fadb8 commit dae1484
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ export default {
</script>

<template>
<el-container class="header-container is-dark">
<div class="dropdowns flex">
<el-container class="is-dark header-container">
<el-space class="dropdowns flex-auto" size="large">
<el-dropdown>
<span class="el-dropdown-link">
文件<el-icon class="ml-2"><ElIconArrowDown /></el-icon>
Expand Down Expand Up @@ -508,7 +508,7 @@ export default {
<el-button plain :type="btnType" @click="copy">
复制
</el-button>
<el-button plain size="default" :type="btnType" @click="prePost">
<el-button plain :type="btnType" @click="prePost">
发布
</el-button>

Expand All @@ -531,14 +531,6 @@ export default {
align-items: center;
}
.dropdowns {
flex: 1;
}
.el-dropdown {
margin: 0 10px;
}
.el-dropdown-link {
display: flex;
align-items: center;
Expand Down

0 comments on commit dae1484

Please sign in to comment.