diff --git a/dev/Styles/_BootstrapFix.less b/dev/Styles/_BootstrapFix.less index 3c7544cd0..e1af89908 100644 --- a/dev/Styles/_BootstrapFix.less +++ b/dev/Styles/_BootstrapFix.less @@ -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 { border-radius: 0 !important; } diff --git a/dev/View/Popup/Plugin.js b/dev/View/Popup/Plugin.js index 9ca435493..9ce7a40a4 100644 --- a/dev/View/Popup/Plugin.js +++ b/dev/View/Popup/Plugin.js @@ -46,12 +46,15 @@ }, this); this.readmePopoverConf = { - 'placement': 'top', + 'placement': 'right', 'trigger': 'hover', +// 'trigger': 'click', 'title': Translator.i18n('POPUPS_PLUGIN/TOOLTIP_ABOUT_TITLE'), 'container': 'body', + 'html': true, 'content': function () { - return self.readme(); + return '
' + self.readme() + ''; +// .replace(/[\r]/g, '').replace(/[\n]/g, '