Commit 3091f14c authored by bahadircyildiz's avatar bahadircyildiz

FIX rfix #5297. Button margin gap increased

parent c247db93
...@@ -263,7 +263,7 @@ svg.new-parent { ...@@ -263,7 +263,7 @@ svg.new-parent {
margin: 3px 5px 5px 5px; margin: 3px 5px 5px 5px;
border: none; border: none;
border-top: solid 1px #DDD; border-top: solid 1px #DDD;
}; }
.djs-palette .entry:before { .djs-palette .entry:before {
vertical-align: middle; vertical-align: middle;
......
...@@ -2381,4 +2381,9 @@ table.dataTable thead .sorting:after { ...@@ -2381,4 +2381,9 @@ table.dataTable thead .sorting:after {
position: absolute; position: absolute;
top:0; left:0; top:0; left:0;
z-index: 1099; z-index: 1099;
}
/* for overflowing buttons not collapsing each other */
.bottom-margined{
margin-bottom: 0.75em;
} }
\ No newline at end of file
<div> <div>
<select ng-model="selection" ng-options="forms.indexOf(form) as form.name for form in forms" ng-change="selectform(selection)"> <select ng-model="selection" ng-options="forms.indexOf(form) as form.name for form in forms" ng-change="selectform(selection)">
</select> </select>
<div class="container">
<form sf-schema="schema" sf-form="form" sf-model="model"></form> <div class="row">
<div class="col-xs-6 center">
<form sf-schema="schema" sf-form="form" sf-model="model"></form>
</div>
</div>
</div>
</div> </div>
\ No newline at end of file
...@@ -36,7 +36,12 @@ angular.module('ulakbus.uitemplates', ['ngRoute', 'schemaForm', 'ulakbus.formSer ...@@ -36,7 +36,12 @@ angular.module('ulakbus.uitemplates', ['ngRoute', 'schemaForm', 'ulakbus.formSer
}, },
{ {
name: 'Deneme Form 2', name: 'Deneme Form 2',
form: ['email', 'id', 'name'], form: ['email', 'id', 'name',
{ type:'button', title:'DickButt1DickButt1DickButt1' },
{ type:'button', title:'DickButt2DickButt2DickButt2' },
{ type:'button', title:'DickButt3DickButt3DickButt3' },
],
schema: { schema: {
properties: { properties: {
email: {title: 'email', type: 'string'}, email: {title: 'email', type: 'string'},
......
...@@ -314,7 +314,7 @@ angular.module('ulakbus.formService', ['ui.bootstrap']) ...@@ -314,7 +314,7 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
scope.form[scope.form.indexOf(k)] = { scope.form[scope.form.indexOf(k)] = {
type: v.type, type: v.type,
title: v.title, title: v.title,
style: (v.style || "btn-danger") + " hide " + buttonClass, style: (v.style || "btn-danger") + " hide bottom-margined " + buttonClass,
onClick: function () { onClick: function () {
delete scope.form_params.cmd; delete scope.form_params.cmd;
delete scope.form_params.flow; delete scope.form_params.flow;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment