Skip to content

Commit 1f86753

Browse files
authored
Fix form field alignment (#96)
Merge pull request #96 from Voog/95_form_field_alignment
2 parents ffc1a67 + 5da2d10 commit 1f86753

File tree

4 files changed

+35
-33
lines changed

4 files changed

+35
-33
lines changed

manifest.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
{
99
"content_type": "page",
1010
"component": false,
11-
"file": "layouts/common_page.tpl",
12-
"layout_name": "page_default",
13-
"title": "Common page"
11+
"file": "layouts/front_page.tpl",
12+
"layout_name": "page_front",
13+
"title": "Front page"
1414
},
1515
{
1616
"content_type": "page",
1717
"component": false,
18-
"file": "layouts/front_page.tpl",
19-
"layout_name": "page_front",
20-
"title": "Front page"
18+
"file": "layouts/common_page.tpl",
19+
"layout_name": "page_default",
20+
"title": "Common page"
2121
},
2222
{
2323
"content_type": "blog",
@@ -33,6 +33,27 @@
3333
"layout_name": "blog_article",
3434
"title": "Blog article"
3535
},
36+
{
37+
"content_type": "component",
38+
"component": true,
39+
"file": "components/template-cs-button.tpl",
40+
"layout_name": "template-cs-button",
41+
"title": "template-cs-button"
42+
},
43+
{
44+
"content_type": "component",
45+
"component": true,
46+
"file": "components/template-cs-headings.tpl",
47+
"layout_name": "template-cs-headings",
48+
"title": "template-cs-headings"
49+
},
50+
{
51+
"content_type": "component",
52+
"component": true,
53+
"file": "components/template-cs-table.tpl",
54+
"layout_name": "template-cs-table",
55+
"title": "template-cs-table"
56+
},
3657
{
3758
"content_type": "component",
3859
"component": true,
@@ -92,9 +113,9 @@
92113
{
93114
"content_type": "component",
94115
"component": true,
95-
"file": "components/template-cs-button.tpl",
96-
"layout_name": "template-cs-button",
97-
"title": "template-cs-button"
116+
"file": "components/template-cs-content.tpl",
117+
"layout_name": "template-cs-content",
118+
"title": "template-cs-content"
98119
},
99120
{
100121
"content_type": "component",
@@ -193,27 +214,6 @@
193214
"file": "components/comment-form.tpl",
194215
"layout_name": "comment-form",
195216
"title": "comment-form"
196-
},
197-
{
198-
"content_type": "component",
199-
"component": true,
200-
"file": "components/template-cs-content.tpl",
201-
"layout_name": "template-cs-content",
202-
"title": "template-cs-content"
203-
},
204-
{
205-
"content_type": "component",
206-
"component": true,
207-
"file": "components/template-cs-headings.tpl",
208-
"layout_name": "template-cs-headings",
209-
"title": "template-cs-headings"
210-
},
211-
{
212-
"content_type": "component",
213-
"component": true,
214-
"file": "components/template-cs-table.tpl",
215-
"layout_name": "template-cs-table",
216-
"title": "template-cs-table"
217217
}
218218
],
219219
"assets": [

sources/stylesheets/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,7 @@ $flags:
13191319
.comment-email-field {
13201320
float: left;
13211321
width: 250px;
1322+
padding-top: 0;
13221323

13231324
input {
13241325
background: none;
@@ -1332,7 +1333,7 @@ $flags:
13321333
}
13331334

13341335
.submit-holder {
1335-
padding-top: 20px;
1336+
padding-top: 0px;
13361337
}
13371338

13381339
.form_field_with_errors .form_field_textfield {

stylesheets/main.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,7 @@ label .form_control_indicator:before {
13731373
.comment-form .comment-email-field {
13741374
float: left;
13751375
width: 250px;
1376+
padding-top: 0;
13761377
}
13771378
.comment-form .comment-name-field input,
13781379
.comment-form .comment-email-field input {
@@ -1384,7 +1385,7 @@ label .form_control_indicator:before {
13841385
margin-right: 20px;
13851386
}
13861387
.comment-form .submit-holder {
1387-
padding-top: 20px;
1388+
padding-top: 0px;
13881389
}
13891390
.comment-form .form_field_with_errors .form_field_textfield {
13901391
color: #c70909;

stylesheets/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)