Skip to content

Commit

Permalink
fix: style of dropdown arrow (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Aug 23, 2024
1 parent 908b244 commit 43c63f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,5 @@ body,
position: absolute;
}
// 参见:https://github.com/element-plus/element-plus/issues/11662
.el-dropdown-link:focus-visible {
outline: unset;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const {

<template>
<DropdownMenu>
<DropdownMenuTrigger>
<DropdownMenuTrigger class="flex items-center">
编辑
<el-icon class="ml-2">
<ElIconArrowDown />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const {

<template>
<DropdownMenu>
<DropdownMenuTrigger>
<DropdownMenuTrigger class="flex items-center">
文件
<el-icon class="ml-2">
<ElIconArrowDown />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function customStyle() {

<template>
<DropdownMenu>
<DropdownMenuTrigger>
<DropdownMenuTrigger class="flex items-center">
样式
<el-icon class="ml-2">
<ElIconArrowDown />
Expand Down
2 changes: 1 addition & 1 deletion src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function copy() {
<el-space class="dropdowns flex-auto" size="large">
<FileDropdown />
<DropdownMenu>
<DropdownMenuTrigger>
<DropdownMenuTrigger class="flex items-center">
格式
<el-icon class="ml-2">
<ElIconArrowDown />
Expand Down

0 comments on commit 43c63f7

Please sign in to comment.