mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Fix post meta popup on mobile
This commit is contained in:
parent
aa5b1ffc29
commit
e27d8968f7
|
@ -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