@@ -57,16 +57,16 @@ export function CommandComponent({
57
57
const { triggerModeIcon, triggerModeName } = getTriggerModeInfo ( pair . triggerMode ) ;
58
58
59
59
return (
60
- < div className = "setting-item mod-toggle " >
60
+ < div className = "cmdr- setting-item" >
61
61
< ObsidianIcon
62
62
icon = { pair . icon }
63
63
size = "var(--icon-l) + 4px"
64
64
aria-label = { t ( "bindings.icon.change" ) }
65
65
onClick = { handleNewIcon }
66
66
className = "cmdr-icon clickable-icon"
67
67
/>
68
- < div className = "setting -item-info" >
69
- < div className = "setting -item-name" >
68
+ < div className = "cmdr -item-info" >
69
+ < div className = "cmdr -item-name" >
70
70
< ChangeableText
71
71
ariaLabel = { t ( "bindings.rename.click" ) }
72
72
handleChange = { ( e ) : void => {
@@ -77,7 +77,7 @@ export function CommandComponent({
77
77
</ div >
78
78
{ cmd && Platform . isDesktop && ! isCommandGroup ( pair ) && (
79
79
< div
80
- className = "setting -item-description"
80
+ className = "cmdr -item-description"
81
81
aria-label = { `id: "${ pair . id } "\naction: "${ pair . action } "` }
82
82
>
83
83
{ t ( "bindings.source" , {
@@ -93,7 +93,7 @@ export function CommandComponent({
93
93
</ div >
94
94
) }
95
95
</ div >
96
- < div className = "setting -item-control" >
96
+ < div className = "cmdr -item-control" >
97
97
{ isCollapsed !== undefined && handleCollapse && (
98
98
< ObsidianIcon
99
99
icon = { isCollapsed ? "chevron-right" : "chevron-down" }
@@ -107,15 +107,15 @@ export function CommandComponent({
107
107
{ isRootCommand ( pair ) && handleAddChild && (
108
108
< ObsidianIcon
109
109
icon = "list-plus"
110
- className = "setting-editor-extra-setting-button clickable-icon"
110
+ className = "clickable-icon"
111
111
onClick = { handleAddChild }
112
112
aria-label = { t ( "bindings.add_child" ) }
113
113
/>
114
114
) }
115
115
{ Platform . isMobile ? (
116
116
< ObsidianIcon
117
117
icon = "pencil"
118
- className = "setting-editor-extra-setting-button clickable-icon"
118
+ className = "clickable-icon"
119
119
onClick = { async ( ) : Promise < void > => {
120
120
if ( plugin ) {
121
121
const updatedCommand = await new BindingEditorModal (
@@ -142,15 +142,15 @@ export function CommandComponent({
142
142
< >
143
143
< ObsidianIcon
144
144
icon = { triggerModeIcon }
145
- className = "setting-editor-extra-setting-button clickable-icon"
145
+ className = "clickable-icon"
146
146
onClick = { ( ) : void => handleTriggerModeChange ( ) }
147
147
aria-label = { t ( "bindings.trigger_mode.change" , {
148
148
current_mode : triggerModeName ,
149
149
} ) }
150
150
/>
151
151
< ObsidianIcon
152
152
icon = { deviceModeIcon }
153
- className = "setting-editor-extra-setting-button clickable-icon"
153
+ className = "clickable-icon"
154
154
onClick = { ( ) : void => handleDeviceModeChange ( ) }
155
155
aria-label = { t ( "bindings.device_mode.change" , {
156
156
current_mode : deviceModeName ,
@@ -161,7 +161,7 @@ export function CommandComponent({
161
161
) }
162
162
< ObsidianIcon
163
163
icon = "lucide-trash"
164
- className = "setting-editor-extra-setting-button clickable-icon"
164
+ className = "clickable-icon"
165
165
style = { { color : "var(--text-error)" } }
166
166
onClick = { handleRemove }
167
167
aria-label = { t ( "common.delete" ) }
@@ -185,29 +185,29 @@ function UnavailableCommandComponent({
185
185
} ) : ReactElement {
186
186
const { t } = useTranslation ( ) ;
187
187
return (
188
- < div className = "setting-item mod-toggle " >
188
+ < div className = "cmdr- setting-item" >
189
189
< ObsidianIcon
190
190
icon = "alert-triangle"
191
191
size = "var(--icon-l) + 4px"
192
192
className = "cmdr-icon mod-warning"
193
193
style = { { color : "var(--text-error)" } }
194
194
aria-label = { `id: "${ pair . id } "\naction: "${ pair . action } "` }
195
195
/>
196
- < div className = "setting -item-info" >
197
- < div className = "setting -item-name" > { pair . name } </ div >
196
+ < div className = "cmdr -item-info" >
197
+ < div className = "cmdr -item-name" > { pair . name } </ div >
198
198
{ Platform . isDesktop && (
199
199
< div
200
- className = "setting -item-description"
200
+ className = "cmdr -item-description"
201
201
style = { { color : "var(--text-error)" } }
202
202
>
203
203
{ t ( "bindings.device_mode.unavailable" ) }
204
204
</ div >
205
205
) }
206
206
</ div >
207
- < div className = "setting -item-control" >
207
+ < div className = "cmdr -item-control" >
208
208
< ObsidianIcon
209
209
icon = "lucide-trash"
210
- className = "setting-editor-extra-setting-button clickable-icon"
210
+ className = "clickable-icon"
211
211
style = { { color : "var(--text-error)" } }
212
212
onClick = { handleRemove }
213
213
aria-label = { t ( "common.delete" ) }
0 commit comments