File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed
Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,12 @@ strong {
319319 border-radius : 6px ;
320320 }
321321 }
322+
323+ & .primary-icon :hover {
324+ & ::after {
325+ background : var (--ed-color-primary-1a , #1cba901a );
326+ }
327+ }
322328}
323329
324330.ed-popper__arrow {
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ defineExpose({
329329 effect =" dark"
330330 >
331331 <el-icon
332- class =" custom-icon btn hover-icon_with_bg"
332+ class =" custom-icon btn hover-icon_with_bg primary-icon "
333333 @click =" addOperation({ opt: 'newLeaf', type: 'dashboard' })"
334334 >
335335 <Icon name =" dv-new-folder" >
Original file line number Diff line number Diff line change @@ -884,7 +884,7 @@ const saveHandler = () => {
884884 <div class =" code" >
885885 <div class =" copy" >
886886 {{ $t('embedded.code_to_embed') }}
887- <el-tooltip effect =" dark" :content =" t('datasource.copy')" placement =" top" >
887+ <el-tooltip :offset = " 12 " effect =" dark" :content =" t('datasource.copy')" placement =" top" >
888888 <el-icon size =" 16" @click =" copyCode" >
889889 <icon _copy_outlined ></icon _copy_outlined >
890890 </el-icon >
@@ -900,7 +900,7 @@ const saveHandler = () => {
900900 <div class =" code" >
901901 <div class =" copy" >
902902 {{ $t('professional.code_for_debugging') }}
903- <el-tooltip effect =" dark" :content =" t('datasource.copy')" placement =" top" >
903+ <el-tooltip :offset = " 12 " effect =" dark" :content =" t('datasource.copy')" placement =" top" >
904904 <el-icon size =" 16" @click =" copyJsCode" >
905905 <icon _copy_outlined ></icon _copy_outlined >
906906 </el-icon >
@@ -916,7 +916,7 @@ const saveHandler = () => {
916916 <div class =" code" >
917917 <div class =" copy" >
918918 {{ $t('embedded.code_to_embed') }}
919- <el-tooltip effect =" dark" :content =" t('datasource.copy')" placement =" top" >
919+ <el-tooltip :offset = " 12 " effect =" dark" :content =" t('datasource.copy')" placement =" top" >
920920 <el-icon size =" 16" @click =" copyJsCodeFull" >
921921 <icon _copy_outlined ></icon _copy_outlined >
922922 </el-icon >
Original file line number Diff line number Diff line change @@ -296,7 +296,12 @@ const handleCurrentChange = (val: number) => {
296296 <div class =" select-table_top" >
297297 {{ $t('user.workspace') }}
298298
299- <el-tooltip effect =" dark" :content =" $t('workspace.add_workspace')" placement =" top" >
299+ <el-tooltip
300+ :offset =" 12"
301+ effect =" dark"
302+ :content =" $t('workspace.add_workspace')"
303+ placement =" top"
304+ >
300305 <el-icon size =" 18" @click =" addWorkspace" >
301306 <icon _add_outlined ></icon _add_outlined >
302307 </el-icon >
You can’t perform that action at this time.
0 commit comments