mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Fix post meta popup on mobile
This commit is contained in:
parent
aa5b1ffc29
commit
e27d8968f7
|
@ -199,6 +199,9 @@
|
||||||
& .permalink {
|
& .permalink {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
& a.permalink {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-icon {
|
.post-icon {
|
||||||
|
@ -276,6 +279,16 @@
|
||||||
margin-left: -30px;
|
margin-left: -30px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
.post-meta {
|
||||||
|
& a.permalink {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
& input.permalink {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media @tablet, @desktop, @desktop-hd {
|
@media @tablet, @desktop, @desktop-hd {
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
<div class="dropdown-menu post-meta">
|
<div class="dropdown-menu post-meta">
|
||||||
<span class="number">Post #{{post.number}}</span>
|
<span class="number">Post #{{post.number}}</span>
|
||||||
<span class="time">{{full-time post.time}}</span>
|
<span class="time">{{full-time post.time}}</span>
|
||||||
<input {{bind-attr value=permalink}} class="form-control permalink">
|
<input value="{{permalink}}" class="form-control permalink">
|
||||||
|
<a href="{{permalink}}" class="btn btn-default permalink">{{permalink}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user