fix: style of dropdown arrow (#348)

This commit is contained in:
YangFong 2024-08-23 13:33:48 +08:00 committed by GitHub
parent 908b244112
commit 43c63f7c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 8 deletions

View File

@ -79,8 +79,5 @@ body,
position: absolute; position: absolute;
} }
// https://github.com/element-plus/element-plus/issues/11662
.el-dropdown-link:focus-visible {
outline: unset;
}
</style> </style>

View File

@ -18,7 +18,7 @@ const {
<template> <template>
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger class="flex items-center">
编辑 编辑
<el-icon class="ml-2"> <el-icon class="ml-2">
<ElIconArrowDown /> <ElIconArrowDown />

View File

@ -29,7 +29,7 @@ const {
<template> <template>
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger class="flex items-center">
文件 文件
<el-icon class="ml-2"> <el-icon class="ml-2">
<ElIconArrowDown /> <ElIconArrowDown />

View File

@ -68,7 +68,7 @@ function customStyle() {
<template> <template>
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger class="flex items-center">
样式 样式
<el-icon class="ml-2"> <el-icon class="ml-2">
<ElIconArrowDown /> <ElIconArrowDown />

View File

@ -160,7 +160,7 @@ function copy() {
<el-space class="dropdowns flex-auto" size="large"> <el-space class="dropdowns flex-auto" size="large">
<FileDropdown /> <FileDropdown />
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger class="flex items-center">
格式 格式
<el-icon class="ml-2"> <el-icon class="ml-2">
<ElIconArrowDown /> <ElIconArrowDown />