mirror of
https://github.com/flarum/framework.git
synced 2025-02-17 21:22:47 +08:00
Fix post meta popup on mobile
This commit is contained in:
parent
cfc5266cb4
commit
494f0e8cbd
|
@ -199,6 +199,9 @@
|
|||
& .permalink {
|
||||
margin-top: 10px;
|
||||
}
|
||||
& a.permalink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.post-icon {
|
||||
|
@ -276,6 +279,16 @@
|
|||
margin-left: -30px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.post-meta {
|
||||
& a.permalink {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
& input.permalink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media @tablet, @desktop, @desktop-hd {
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
<div class="dropdown-menu post-meta">
|
||||
<span class="number">Post #{{post.number}}</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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user