Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
ed5ec89a
Commit
ed5ec89a
authored
Oct 13, 2019
by
Carsten Rose
Browse files
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
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/BuildFormBootstrap.php
View file @
ed5ec89a
...
...
@@ -149,6 +149,11 @@ class BuildFormBootstrap extends AbstractBuildForm {
$class
=
[
'tab-content'
,
$this
->
formSpec
[
F_CLASS_BODY
]];
if
(
$pill
==
''
)
{
$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
)
.
">"
;
...
...
less/qfq-bs.css.less
View file @
ed5ec89a
...
...
@@ -153,6 +153,12 @@ select.qfq-locked:invalid {
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 */
.form-group {
padding-top: 5px;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment