Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Commit

Permalink
adjust syling to latest modeler version
Browse files Browse the repository at this point in the history
  • Loading branch information
ingorichtsmeier committed Apr 5, 2019
1 parent a9134ea commit 7d50dd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ GeneratedFormPreviewPluginProvider.prototype.getFormsTab = function(formsTab) {
var self = this;
if (formsTab.groups.length > 0 && formsTab.groups[0].entries.length > 0) {
formsTab.groups[0].entries.splice(2, 0, {
html: "<button class='preview-button' data-action='openPreview'>Preview Form</button>",
html: "<button id='preview-button' data-action='openPreview'>Preview Form</button>",
id: "form-fields-generate-button",
openPreview: function(element, node) {
var formFields = formHelper.getFormFields(element);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ GeneratedFormPreviewPluginProvider.prototype.getFormsTab = function(formsTab) {
var self = this;
if (formsTab.groups.length > 0 && formsTab.groups[0].entries.length > 0) {
formsTab.groups[0].entries.splice(2, 0, {
html: "<button class='preview-button' data-action='openPreview'>Preview Form</button>",
html: "<button id='preview-button' data-action='openPreview'>Preview Form</button>",
id: "form-fields-generate-button",
openPreview: function(element, node) {
var formFields = formHelper.getFormFields(element);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "bootstrap.min.css";

/* Style the Preview Button */
button.preview-button {
#preview-button {
position: relative;
width: 100px;
}
Expand Down

0 comments on commit 7d50dd6

Please sign in to comment.