This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Checkboxes label adjustement
When the label of a checkbox is more than one line long, avoid unalignment.
master
nicolas
8 years ago
committed by
Eugen Rochko
parent
50bec5b999
commit
c1aab76da4
1 changed files
with
8 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-4
app/assets/stylesheets/forms.scss
+ 8
- 4
app/assets/stylesheets/forms.scss
View File
@ -47,12 +47,16 @@ code {
color
:
#
9baec8
;
display
:
block
;
}
label
.
checkbox
{
position
:
relative
;
padding-left
:
25px
;
}
input
[
type
=
checkbox
]
{
display
:
inline-block
;
position
:
relative
;
top
:
3px
;
margin-right
:
8px
;
position
:
absolute
;
left
:
0
;
top
:
0
;
}
}
Write
Preview
Loading…
Cancel
Save