Skip to content
This repository was archived by the owner on Aug 12, 2019. It is now read-only.

Commit d263f13

Browse files
committed
Use custom checkbox
1 parent 4879d87 commit d263f13

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/welcome-view.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class WelcomeView extends ScrollView
3737
@li => @raw 'The <a href="https://github.com/atom" data-event="atom-org">Atom org</a>. This is where all GitHub-created Atom packages can be found.'
3838

3939
@section class: 'welcome-panel', =>
40-
@input type: 'checkbox', id: 'show-welcome-on-startup'
40+
@input class: 'input-checkbox', type: 'checkbox', id: 'show-welcome-on-startup'
4141
@label for: 'show-welcome-on-startup', 'Show Welcome Guide when opening Atom'
4242

4343
@footer class: 'welcome-footer', =>

styles/welcome.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@
2424
}
2525

2626
label {
27-
margin-left: 1em;
2827
margin-top: 1em;
2928
font-weight: normal;
3029
}
3130

31+
.input-checkbox {
32+
margin-top: -.2em;
33+
margin-right: .5em;
34+
}
35+
3236
// Components ----------------------
3337

3438
&-container {

0 commit comments

Comments
 (0)