Skip to content
Snippets Groups Projects
Commit 2a10040a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch 'plugins-tab-width-fix' into 'master'

CSS change in order for the min-width to work correctly

See merge request piotr.gawron/minerva!287
parents cdf3e8b8 605f8552
No related branches found
No related tags found
1 merge request!287CSS change in order for the min-width to work correctly
Pipeline #
......@@ -120,11 +120,12 @@ PluginManager.prototype.createTabForPlugin = function () {
self.getElement().style.maxWidth = "600px";
self.getElement().style.minWidth = "150px";
self.getElement().style.height = "100%";
self.getElement().style.position = "relative";
self._tabData = guiUtils.createTabDiv({element: self.getElement(), id: "plugin_tab"});
tabData = self._tabData;
$(tabData.content).css('position', 'relative');
tabData = self._tabData;
$(tabData.element).css('position', 'absolute');
$(tabData.element).css('top', '0');
$(tabData.element).css('width', '100%');
}
return guiUtils.createTab({
title: "",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment