Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
4bd256a2
Commit
4bd256a2
authored
18 years ago
by
Steven Wittens
Browse files
Options
Downloads
Patches
Plain Diff
#85166
: div around radios (checkboxes) and tweak margins
parent
f24e304f
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/form.inc
+1
-0
1 addition, 0 deletions
includes/form.inc
modules/system/system.css
+7
-0
7 additions, 0 deletions
modules/system/system.css
with
8 additions
and
0 deletions
includes/form.inc
+
1
−
0
View file @
4bd256a2
...
...
@@ -943,6 +943,7 @@ function theme_radio($element) {
* A themed HTML string representing the radio button set.
*/
function
theme_radios
(
$element
)
{
$element
[
'#children'
]
=
'<div class="form-radios">'
.
$element
[
'#children'
]
.
'</div>'
;
if
(
$element
[
'#title'
]
||
$element
[
'#description'
])
{
unset
(
$element
[
'#id'
]);
return
theme
(
'form_element'
,
$element
,
$element
[
'#children'
]);
...
...
This diff is collapsed.
Click to expand it.
modules/system/system.css
+
7
−
0
View file @
4bd256a2
...
...
@@ -103,6 +103,13 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
display
:
inline
;
font-weight
:
normal
;
}
.form-checkboxes
,
.form-radios
{
margin
:
1em
0
;
}
.form-checkboxes
.form-item
,
.form-radios
.form-item
{
margin-top
:
0.4em
;
margin-bottom
:
0.4em
;
}
.marker
,
.form-required
{
color
:
#f00
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment