Commit ed5ec89a authored by Carsten  Rose's avatar Carsten Rose

Fixes #9354 - Missing Border aroung form if there is no pill and no title.

parent b73e7bcb
Pipeline #2485 passed with stages
in 2 minutes and 47 seconds
...@@ -149,6 +149,11 @@ class BuildFormBootstrap extends AbstractBuildForm { ...@@ -149,6 +149,11 @@ class BuildFormBootstrap extends AbstractBuildForm {
$class = ['tab-content', $this->formSpec[F_CLASS_BODY]]; $class = ['tab-content', $this->formSpec[F_CLASS_BODY]];
if ($pill == '') { if ($pill == '') {
$class[] = 'col-md-12'; $class[] = 'col-md-12';
$class[] = 'qfq-form-body'; // Make an outline on form body
if ($title == '') {
$class[] = 'qfq-form-no-title';
}
} }
$html .= "<div " . Support::doAttribute('class', $class) . ">"; $html .= "<div " . Support::doAttribute('class', $class) . ">";
......
...@@ -153,6 +153,12 @@ select.qfq-locked:invalid { ...@@ -153,6 +153,12 @@ select.qfq-locked:invalid {
border-top: none; border-top: none;
} }
.qfq-form-no-title {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
border: 1px solid #ccc;
}
/* adjust BS padding of input elements: center */ /* adjust BS padding of input elements: center */
.form-group { .form-group {
padding-top: 5px; padding-top: 5px;
......
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