Skip to content

Commit a335f9d

Browse files
committed
fixed page validation
1 parent e2ebb15 commit a335f9d

File tree

7 files changed

+8
-17
lines changed

7 files changed

+8
-17
lines changed

config/webpack.plugins.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,11 @@ if (!env.isPlugin) {
4848
inject: 'body',
4949
hash: true,
5050
meta: {
51-
'Content-Type': {
52-
'http-equiv': 'Content-Type',
53-
content: 'text/html',
54-
},
5551
viewport: {
5652
name: 'viewport',
5753
content:
5854
'width=device-width, initial-scale=1',
5955
},
60-
compatible: {
61-
'http-equiv': 'x-ua-compatible',
62-
content: 'ie=edge',
63-
},
6456
description: {
6557
name: 'description',
6658
content: description,
@@ -156,9 +148,7 @@ plugins.push(
156148
'apple-touch-icon-precomposed.png',
157149
'apple-touch-icon.png',
158150
],
159-
appleStartup: [
160-
'apple-touch-startup-image-640x1136.png',
161-
],
151+
appleStartup: [],
162152
coast: true, // Create Opera Coast icon. `boolean`
163153
favicons: true, // Create regular favicons. `boolean`
164154
firefox: [

src/components/footer/footer.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ mixin footer(options = {})
1010
if addClass
1111
- className += ` ${addClass}`
1212

13-
footer(class=className role='contentinfo')
13+
footer(class=className)
1414
p Клюшин А. © 2022

src/components/miscellaneous/miscellaneous.pug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ mixin miscellaneous(options = {})
5454
+select({
5555
label: 'Skin',
5656
list: selectData,
57+
name: 'skin range slider fox'
5758
})
5859

5960
div(class=`${BASE_CLASS}__reset-wrapper`)

src/components/panel/panel.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mixin panel(options = {})
2525
input(class=`rslider__${theme} visually-hidden`
2626
type='text'
2727
name='DATA'
28-
value=''
28+
value='0'
2929
tabindex='-2'
3030
readonly=''
3131
)

src/components/select/select.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ mixin select(options = {})
3737

3838
li(class=selector tabindex='0' data-value=item.value)=item.text
3939

40-
input(class=`${BASE_CLASS}__input js-${BASE_CLASS}__input` type='text' value='' tabindex='-2' name=name)
40+
input(class=`${BASE_CLASS}__input js-${BASE_CLASS}__input` type='text' tabindex='-2' name=name)

src/components/text-field/text-field.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mixin text-field(options)
1818
div(class=className)
1919
label(class=`${BASE_CLASS}__label`)
2020
if !isLabeled
21-
p(class=`${BASE_CLASS}__label-text`)= label
21+
= label
2222

2323
input(class=`${BASE_CLASS}__input` type=typeField placeholder=placeholder value='' name=name)
2424

src/components/text-field/text-field.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
display: flex;
33
flex-direction: column;
44

5-
&__label-text {
6-
margin-bottom: 5px;
5+
&__label {
76
@include font-family();
87
font-weight: bold;
98
font-size: 12px;
@@ -22,6 +21,7 @@
2221
}
2322

2423
&__input {
24+
margin-top: 5px;
2525
width: 100%;
2626
height: 25px;
2727
padding-left: 15px;

0 commit comments

Comments
 (0)