@@ -57,13 +57,12 @@ export default class FeatureToolbar extends HTMLElement {
57
57
58
58
${ this . isFeatureExportable
59
59
? html `< div class ="btn-group feature-export ">
60
- < button type ="button " class ="btn btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false " data-bs-toggle =" tooltip " data-bs- title ="${ lizDict [ 'attributeLayers.toolbar.btn.data.export.title' ] } ">
60
+ < button type ="button " class ="btn btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false " title ="${ lizDict [ 'attributeLayers.toolbar.btn.data.export.title' ] } ">
61
61
< i class ="icon-download "> </ i >
62
- < span class ="caret "> </ span >
63
62
</ button >
64
- < ul class ="dropdown-menu pull-right " role =" menu ">
63
+ < ul class ="dropdown-menu ">
65
64
${ this . _downloadFormats . map ( ( format ) =>
66
- html `< li > < a href ="# " @click =${ ( ) => this . export ( format ) } > ${ format } </ a > </ li > ` ) }
65
+ html `< li > < a class =" dropdown-item " href ="# " @click =${ ( ) => this . export ( format ) } > ${ format } </ a > </ li > ` ) }
67
66
</ ul >
68
67
</ div > `
69
68
: ''
@@ -104,13 +103,12 @@ export default class FeatureToolbar extends HTMLElement {
104
103
${ this . editableChildrenLayers . length
105
104
? html `
106
105
< div class ="btn-group feature-create-child " style ="margin-left: 0px; ">
107
- < button type ="button " class ="btn btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false " data-bs- title ="${ lizDict [ 'attributeLayers.toolbar.btn.data.createFeature.title' ] } ">
106
+ < button type ="button " class ="btn btn-sm dropdown-toggle " data-bs-toggle ="dropdown " aria-expanded ="false " title ="${ lizDict [ 'attributeLayers.toolbar.btn.data.createFeature.title' ] } ">
108
107
< i class ="icon-plus-sign "> </ i >
109
- < span class ="caret "> </ span >
110
108
</ button >
111
- < ul class ="dropdown-menu " role =" menu " >
109
+ < ul class ="dropdown-menu ">
112
110
${ this . editableChildrenLayers . map ( ( child ) =>
113
- html `< li > < a data-child-layer-id ="${ child . layerId } " @click =${ ( ) => this . createChild ( child ) } > ${ child . title } </ a > </ li > ` ) }
111
+ html `< li > < a class =" dropdown-item " href =" # " data-child-layer-id ="${ child . layerId } " @click =${ ( ) => this . createChild ( child ) } > ${ child . title } </ a > </ li > ` ) }
114
112
</ ul >
115
113
</ div >
116
114
`
0 commit comments