Skip to content

Commit

Permalink
fix: css, прибраны группы полей, верстка под мобильники
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Nov 29, 2018
1 parent cc61840 commit 1804410
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 110 deletions.
28 changes: 28 additions & 0 deletions pages/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,40 @@
margin: 0 auto;
}

// group dropdown on mobile
@media (max-width: 1000px) {
.el-dropdown-menu.el-popper {
display: none;
}
}

.available-fields {
margin: 0 auto;
text-align: left;
columns: 4;
@media (max-width: 1000px) {
columns: 3;
}
@media (max-width: 768px) {
columns: 1;
}
max-width: 1140px;

.field-group {
padding: 0 3px;

&:hover {
background: #fbfbfb;
}

&__header {
margin-top: 15px;
margin-bottom: 5px;
}

&__name {
margin-left: 5px;
font-size: 1.5rem;
}
}

Expand All @@ -73,6 +95,9 @@
padding: 0;
margin-right: 1em;
color: rgba(255, 0, 0, 0.87);
@media (max-width: 1000px) {
padding: 5px;
}
}
}

Expand All @@ -85,6 +110,9 @@
padding: 0;
margin-right: 1em;
font-weight: normal;
@media (max-width: 1000px) {
padding: 5px;
}
}
}

Expand Down
Loading

0 comments on commit 1804410

Please sign in to comment.