add styles so permalinks admin could fit mobile screen (#6496)
This commit is contained in:
parent
341836eb42
commit
0abc932056
|
@ -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"}}
|
||||
|
|
|
@ -574,21 +574,40 @@
|
|||
.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;
|
||||
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: 5px 0;
|
||||
@media screen and (min-width: map-get($breakpoints, tablet)) {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.permalink-title {
|
||||
margin-bottom: 10px;
|
||||
|
|
Loading…
Reference in New Issue