коммит произвёл
Joram Wilander
родитель
55803ebcc8
Коммит
c5a0ac8c6a
@@ -1149,42 +1149,26 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
.post-list__table {
|
||||
.post-list__content {
|
||||
.dropdown-menu {
|
||||
&.bottom {
|
||||
bottom: auto;
|
||||
top: 30%;
|
||||
}
|
||||
.app__body {
|
||||
.post {
|
||||
.open {
|
||||
> .dropdown-menu__content {
|
||||
display: table;
|
||||
|
||||
bottom: auto;
|
||||
height: auto;
|
||||
> .dropdown-menu {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu__content {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
margin-left: 25px;
|
||||
position: fixed;
|
||||
top: 30%;
|
||||
width: calc(100% - 50px);
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 9999;
|
||||
|
||||
> li {
|
||||
> a {
|
||||
border-bottom: 1px solid;
|
||||
line-height: 50px;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: alpha-color($black, .3);
|
||||
content: '';
|
||||
@@ -1195,10 +1179,45 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app__body {
|
||||
.dropdown-menu {
|
||||
&.bottom {
|
||||
bottom: auto;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
background: transparent;
|
||||
border: none;
|
||||
bottom: auto;
|
||||
box-shadow: none;
|
||||
float: none;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0 2em;
|
||||
position: relative;
|
||||
top: 0;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
z-index: 9999;
|
||||
|
||||
> li {
|
||||
&:last-child {
|
||||
a {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid;
|
||||
line-height: 50px;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal {
|
||||
overflow: hidden;
|
||||
padding: 0 !important;
|
||||
@@ -1398,18 +1417,6 @@
|
||||
min-height: 440px;
|
||||
}
|
||||
}
|
||||
|
||||
.post-list__table {
|
||||
.post-list__content {
|
||||
.dropdown-menu {
|
||||
&.bottom {
|
||||
top: 25%;
|
||||
}
|
||||
|
||||
top: 25%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// on iOS, allow clicks within an input's label to actually propagate through to the input itself
|
||||
|
||||
Ссылка в новой задаче
Block a user