Commit e4c2b6c8 authored by Nikolay Gromov's avatar Nikolay Gromov

Правки для линтера

parent 43894e4c
...@@ -115,14 +115,14 @@ ...@@ -115,14 +115,14 @@
"height", "height",
"min-height", "min-height",
"max-height", "max-height",
"overflow",
"overflow-*",
"margin", "margin",
"margin-*", "margin-*",
"border", "border",
"border-*", "border-*",
"padding", "padding",
"padding-*", "padding-*",
"overflow",
"overflow-*",
] ]
}, },
{ {
......
/* global require */
require('../main-nav/main-nav.js'); require('../main-nav/main-nav.js');
require('../burger/burger.js'); require('../burger/burger.js');
require('../field-text/field-text.js'); require('../field-text/field-text.js');
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
overflow: hidden;
margin: 0; margin: 0;
border-radius: $border-radius; border-radius: $border-radius;
// border: 1px solid $gray-lighter; // border: 1px solid $gray-lighter;
...@@ -26,6 +25,7 @@ ...@@ -26,6 +25,7 @@
background-color: $gray-lightest; background-color: $gray-lightest;
background-image: none; background-image: none;
cursor: pointer; cursor: pointer;
overflow: hidden;
&:hover, &:hover,
&:focus { &:focus {
......
...@@ -6,28 +6,28 @@ ...@@ -6,28 +6,28 @@
$block-name: &; // #{$block-name}__element $block-name: &; // #{$block-name}__element
position: relative;
z-index: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: relative;
z-index: 0;
min-width: 200px; min-width: 200px;
padding: 0 15px; padding: 0 15px;
margin-bottom: 30px; margin-bottom: 30px;
&__inner { &__inner {
flex-grow: 1;
position: relative;
display: flex; display: flex;
align-items: center;
flex-direction: column; flex-direction: column;
flex-grow: 1;
align-items: center;
position: relative;
width: 100%; width: 100%;
margin-bottom: 20px; margin-bottom: 20px;
} }
&__img-wrap { &__img-wrap {
flex-shrink: 0;
display: block; display: block;
flex-shrink: 0;
margin-bottom: 20px; margin-bottom: 20px;
} }
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
display: block; display: block;
position: relative; position: relative;
width: 100%; width: 100%;
overflow: hidden;
margin-top: $typo-margin-vertical; margin-top: $typo-margin-vertical;
margin-bottom: $typo-margin-vertical; margin-bottom: $typo-margin-vertical;
padding: 0; padding: 0;
overflow: hidden;
&::before { &::before {
content: ''; content: '';
......
...@@ -35,13 +35,13 @@ ...@@ -35,13 +35,13 @@
align-items: baseline; align-items: baseline;
position: relative; position: relative;
width: 100%; width: 100%;
overflow: hidden;
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background-color: #fff; background-color: #fff;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
cursor: pointer; cursor: pointer;
overflow: hidden;
@at-root input:disabled ~ & { @at-root input:disabled ~ & {
background: $gray-lighter; background: $gray-lighter;
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
} }
&__input-and-btns { &__input-and-btns {
position: relative;
display: block; display: block;
position: relative;
width: 140px; width: 140px;
} }
......
...@@ -140,13 +140,13 @@ ...@@ -140,13 +140,13 @@
z-index: 1; z-index: 1;
top: 100%; top: 100%;
width: 100%; width: 100%;
overflow: hidden;
margin-top: -1px; margin-top: -1px;
border: 1px solid $border-color; border: 1px solid $border-color;
border-bottom-left-radius: $border-radius; border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius; border-bottom-right-radius: $border-radius;
background-color: #fff; background-color: #fff;
word-break: break-all; word-break: break-all;
overflow: hidden;
#{$block-name}__item { #{$block-name}__item {
padding: $field-padding-vertical $field-padding-horizontal; padding: $field-padding-vertical $field-padding-horizontal;
......
@mixin hide-text { @mixin hide-text {
position: absolute; position: absolute;
height: 1px;
width: 1px; width: 1px;
height: 1px;
margin: -1px; margin: -1px;
padding: 0; padding: 0;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
......
...@@ -19,7 +19,7 @@ $color-warning: hsl(35, 84%, 62%); ...@@ -19,7 +19,7 @@ $color-warning: hsl(35, 84%, 62%);
$color-vk: #4a76a8; $color-vk: #4a76a8;
$color-fb: #4267b2; $color-fb: #4267b2;
$color-tw: #40A2F5; $color-tw: #40a2f5;
$color-gh: #24292e; $color-gh: #24292e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment