add styles so permalinks admin could fit mobile screen (#6496)

This commit is contained in:
Guto Foletto 2018-10-17 12:37:14 -03:00 committed by Régis Hanol
parent 341836eb42
commit 0abc932056
2 changed files with 26 additions and 5 deletions

View File

@ -1,5 +1,7 @@
<div class="permalink-title"><h2>{{i18n 'admin.permalink.title'}}</h2></div>
<div class="pull-right">
<div class="permalink-title">
<h2>{{i18n 'admin.permalink.title'}}</h2>
</div>
<div class="permalink-search">
{{text-field value=filter class="url-input" placeholderKey="admin.permalink.form.filter" autocorrect="off" autocapitalize="off"}}
</div>
{{permalink-form action="recordAdded"}}

View File

@ -574,19 +574,38 @@
.external_url,
.post {
text-overflow: ellipsis;
white-space: nowrap;
}
&.grid tr.admin-list-item {
grid-template-columns: unset;
}
}
.permalink-search {
text-align: left;
@media screen and (min-width: map-get($breakpoints, tablet)) {
text-align: right;
}
}
.permalink-form {
align-items: flex-start;
display: flex;
align-items: center;
flex-direction: column;
flex-wrap: wrap;
@media screen and (min-width: map-get($breakpoints, tablet)) {
align-items: center;
flex-direction: row;
}
.select-kit {
width: 150px;
}
input {
margin: 0 5px;
margin: 5px 0;
@media screen and (min-width: map-get($breakpoints, tablet)) {
margin: 0 5px;
}
}
}