mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fixed: Plugin's help popover (Better view for plugin's readme content)
This commit is contained in:
parent
e8fbdff09c
commit
3887073016
3 changed files with 19 additions and 3 deletions
|
|
@ -181,6 +181,19 @@ html.rgba.textshadow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popover {
|
||||||
|
width: auto;
|
||||||
|
min-width: 250px;
|
||||||
|
max-width: 550px;
|
||||||
|
|
||||||
|
.popover-content pre {
|
||||||
|
border: none;
|
||||||
|
background: rgba(0, 0, 0, 0);
|
||||||
|
padding: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn-group > .btn {
|
.btn-group > .btn {
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,12 +46,15 @@
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
this.readmePopoverConf = {
|
this.readmePopoverConf = {
|
||||||
'placement': 'top',
|
'placement': 'right',
|
||||||
'trigger': 'hover',
|
'trigger': 'hover',
|
||||||
|
// 'trigger': 'click',
|
||||||
'title': Translator.i18n('POPUPS_PLUGIN/TOOLTIP_ABOUT_TITLE'),
|
'title': Translator.i18n('POPUPS_PLUGIN/TOOLTIP_ABOUT_TITLE'),
|
||||||
'container': 'body',
|
'container': 'body',
|
||||||
|
'html': true,
|
||||||
'content': function () {
|
'content': function () {
|
||||||
return self.readme();
|
return '<pre>' + self.readme() + '</pre>';
|
||||||
|
// .replace(/[\r]/g, '').replace(/[\n]/g, '<br />').replace(/[\t]/g, ' ');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ hostname from the inputted email address (for example, it would detect "example.
|
||||||
How to Use:
|
How to Use:
|
||||||
|
|
||||||
1) Activate plugin
|
1) Activate plugin
|
||||||
2) Visit Settings, and add a new wildcard domain ' * '
|
2) Visit Settings, and add a new wildcard domain "*"
|
||||||
3) Set your ports/ssl requirements as needed. These will not be changed by the plugin.
|
3) Set your ports/ssl requirements as needed. These will not be changed by the plugin.
|
||||||
4) In the SMTP and/or IMAP host fields, place the single word "auto". This will be replaced when the plugin is active.
|
4) In the SMTP and/or IMAP host fields, place the single word "auto". This will be replaced when the plugin is active.
|
||||||
5) That's it! The plugin should now work!
|
5) That's it! The plugin should now work!
|
||||||
Loading…
Add table
Add a link
Reference in a new issue