Commit e4c2b6c8 authored by Nikolay Gromov's avatar Nikolay Gromov

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

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