Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fences
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
fences
Commits
b2a1a902
Commit
b2a1a902
authored
9 years ago
by
JohnAlbin
Browse files
Options
Downloads
Patches
Plain Diff
Trivial tweaks to comments and white space.
parent
589755af
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fences.module
+1
-1
1 addition, 1 deletion
fences.module
field-rtl.css
+0
-1
0 additions, 1 deletion
field-rtl.css
field.css
+0
-2
0 additions, 2 deletions
field.css
with
1 addition
and
4 deletions
fences.module
+
1
−
1
View file @
b2a1a902
...
...
@@ -202,7 +202,7 @@ function fences_preprocess_field(&$variables) {
// Core adds a "clearfix" class to the wrapper since it floats the label and
// the field items in its field.css if the label is inline. That's nonsense,
// so we remove it and add a simple "inline" class.
// so we remove it and add a simple
, unstyled
"inline" class.
if
(
$variables
[
'element'
][
'#label_display'
]
==
'inline'
)
{
$variables
[
'classes_array'
]
=
array_diff
(
$variables
[
'classes_array'
],
array
(
'clearfix'
));
$variables
[
'classes_array'
][]
=
'inline'
;
...
...
This diff is collapsed.
Click to expand it.
field-rtl.css
+
0
−
1
View file @
b2a1a902
form
.field-multiple-table
th
.field-label
{
padding-right
:
0
;
}
...
...
This diff is collapsed.
Click to expand it.
field.css
+
0
−
2
View file @
b2a1a902
/* Field display */
.field
.field-label
{
font-weight
:
bold
;
...
...
@@ -18,7 +17,6 @@ form .field-multiple-table td.field-multiple-drag {
form
.field-multiple-table
td
.field-multiple-drag
a
.tabledrag-handle
{
padding-right
:
.5em
;
/*LTR*/
}
form
.field-add-more-submit
{
margin
:
.5em
0
0
;
}
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