mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 07:38:03 +08:00
add styles so permalinks admin could fit mobile screen (#6496)
This commit is contained in:

committed by
Régis Hanol

parent
341836eb42
commit
0abc932056
@ -1,5 +1,7 @@
|
|||||||
<div class="permalink-title"><h2>{{i18n 'admin.permalink.title'}}</h2></div>
|
<div class="permalink-title">
|
||||||
<div class="pull-right">
|
<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"}}
|
{{text-field value=filter class="url-input" placeholderKey="admin.permalink.form.filter" autocorrect="off" autocapitalize="off"}}
|
||||||
</div>
|
</div>
|
||||||
{{permalink-form action="recordAdded"}}
|
{{permalink-form action="recordAdded"}}
|
||||||
|
@ -574,20 +574,39 @@
|
|||||||
.external_url,
|
.external_url,
|
||||||
.post {
|
.post {
|
||||||
text-overflow: ellipsis;
|
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 {
|
.permalink-form {
|
||||||
|
align-items: flex-start;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
@media screen and (min-width: map-get($breakpoints, tablet)) {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
.select-kit {
|
.select-kit {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
|
margin: 5px 0;
|
||||||
|
@media screen and (min-width: map-get($breakpoints, tablet)) {
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.permalink-title {
|
.permalink-title {
|
||||||
|
Reference in New Issue
Block a user