mirror of
https://github.com/flarum/core.git
synced 2025-07-18 23:31:17 +02:00
Fix post meta popup on mobile
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user