@@ -69,14 +69,14 @@ export class LocalConditionalCardEditor extends LitElement implements LovelaceCa
6969 return html `
7070 <div class= "card-config" >
7171 <div class= "toolbar" >
72- <sl - tab- group @sl -tab-show = ${ this . _selectTab } >
73- <sl - tab slot= "nav" panel = "conditions" .active = ${ ! this . _cardTab } >
72+ <ha - tab- group @wa -tab-show = ${ this . _selectTab } >
73+ <ha - tab - group - tab slot= "nav" panel = "conditions" .active = ${ ! this . _cardTab } >
7474 ${ this . hass ?. localize ( "ui.panel.lovelace.editor.card.conditional.conditions" ) }
75- </ sl - tab>
76- <sl - tab slot= "nav" panel = "card" .active = ${ this . _cardTab } >
75+ </ ha - tab - group - tab>
76+ <ha - tab - group - tab slot= "nav" panel = "card" .active = ${ this . _cardTab } >
7777 ${ this . hass ?. localize ( "ui.panel.lovelace.editor.card.conditional.card" ) }
78- </ sl - tab>
79- </ sl - tab- group>
78+ </ ha - tab - group - tab>
79+ </ ha - tab- group>
8080 </ div>
8181 <div id= "editor" > ${ this . _cardTab ? this . _renderCardChooser ( ) : this . _renderCardConfig ( ) } </ div>
8282 </ div>
@@ -132,7 +132,7 @@ export class LocalConditionalCardEditor extends LitElement implements LovelaceCa
132132 ${ this . _config ?. card ?. type !== undefined
133133 ? html `
134134 <div class= "card-options" >
135- <mwc - butto n
135+ <ha - butto n
136136 @click = ${ this . _toggleMode }
137137 .disabled = ${ ! this . _guiModeAvailable }
138138 class= "gui- mode-butto n">
@@ -141,10 +141,10 @@ export class LocalConditionalCardEditor extends LitElement implements LovelaceCa
141141 ? "ui.panel.lovelace.editor.edit_card.show_code_editor"
142142 : "ui.panel.lovelace.editor.edit_card.show_visual_editor" ,
143143 ) }
144- </ mwc - butto n>
145- <mwc - butto n @click = ${ this . _handleReplaceCard }
144+ </ ha - butto n>
145+ <ha - butto n @click = ${ this . _handleReplaceCard }
146146 > ${ this . hass ?. localize ( "ui.panel.lovelace.editor.card.conditional.change_type" ) }
147- </ mwc - butto n>
147+ </ ha - butto n>
148148 </ div>
149149 <hui- card- element- edito r
150150 .hass = ${ this . hass }
@@ -254,11 +254,11 @@ export class LocalConditionalCardEditor extends LitElement implements LovelaceCa
254254 }
255255
256256 static styles : CSSResultGroup = css `
257- sl -tab {
257+ ha -tab {
258258 flex : 1 ;
259259 }
260260
261- sl -tab ::part (base ) {
261+ ha -tab ::part (base ) {
262262 width : 100% ;
263263 justify-content : center;
264264 }
@@ -295,6 +295,7 @@ export class LocalConditionalCardEditor extends LitElement implements LovelaceCa
295295 display : flex;
296296 justify-content : flex-end;
297297 width : 100% ;
298+ margin-bottom : 15px ;
298299 }
299300
300301 .gui-mode-button {
0 commit comments