mirror of
https://github.com/moyf/easy-copy.git
synced 2026-07-22 05:43:47 +00:00
style: move settings info icon styles to css
This commit is contained in:
parent
6e83e47cc5
commit
ca78f782cf
2 changed files with 11 additions and 2 deletions
|
|
@ -328,8 +328,7 @@ export class EasyCopySettingTab extends PluginSettingTab {
|
|||
const infoIcon = descFragment.createEl('span', {
|
||||
attr: {
|
||||
'aria-label': this.plugin.t('resolve-link-path-on-paste-tooltip'),
|
||||
'class': 'clickable-icon setting-editor-extra-setting-button',
|
||||
'style': 'display:inline; vertical-align:middle; cursor:help;',
|
||||
'class': 'setting-editor-extra-setting-button'
|
||||
},
|
||||
});
|
||||
setIcon(infoIcon, 'info');
|
||||
|
|
|
|||
10
styles.css
10
styles.css
|
|
@ -58,3 +58,13 @@ If your plugin does not need CSS, delete this file.
|
|||
.easy-copy-regex-error.is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.setting-editor-extra-setting-button {
|
||||
display: inline-block;
|
||||
vertical-align:middle;
|
||||
cursor:help;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue