mirror of
https://github.com/flarum/core.git
synced 2025-08-02 06:30:53 +02:00
fix: unread count in post stream not visible (#3791)
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -41,6 +41,7 @@ export default class PostStreamScrubber extends Component {
|
|||||||
const newStyle = {
|
const newStyle = {
|
||||||
top: 100 - unreadPercent * 100 + '%',
|
top: 100 - unreadPercent * 100 + '%',
|
||||||
height: unreadPercent * 100 + '%',
|
height: unreadPercent * 100 + '%',
|
||||||
|
opacity: unreadPercent ? 1 : 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (vnode.state.oldStyle) {
|
if (vnode.state.oldStyle) {
|
||||||
|
@@ -36,7 +36,6 @@
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 13px;
|
padding-left: 13px;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.Scrubber-handle {
|
.Scrubber-handle {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Reference in New Issue
Block a user