IMPR: CMS compact field styles

This commit is contained in:
Tony Air 2020-08-03 20:44:32 +07:00
parent d87be3790f
commit 801e77086e
3 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate", "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "2.3.9", "version": "2.4.0",
"author": "Tony Air <tony@twma.pro>", "author": "Tony Air <tony@twma.pro>",
"license": "MIT", "license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.", "description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -283,7 +283,7 @@ const AjaxUI = (($) => {
}*/ }*/
}, },
restoreAll: () => { restoreAll: () => {
for (const url in $.xhrPool.requests) { for (let url in $.xhrPool.requests) {
const jqXHR = $.xhrPool.requests[url]; const jqXHR = $.xhrPool.requests[url];
$.ajax(jqXHR.opts); $.ajax(jqXHR.opts);
console.log(`AJAX request is restored (${jqXHR.opts.url})`); console.log(`AJAX request is restored (${jqXHR.opts.url})`);

View File

@ -54,7 +54,7 @@ body.cms {
} }
// short fields margins/paddings // short fields margins/paddings
.fields-short { .fields-compact {
.form-group { .form-group {
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
@ -65,6 +65,21 @@ body.cms {
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }
.form-group:after,
.form__divider:after {
display: none;
}
.mce-edit-area {
height: 5em;
iframe {
height: 5em !important;
}
}
.form-control.textarea {
height: 13.5em;
}
} }
.fields-row { .fields-row {