mirror of
https://github.com/flarum/framework.git
synced 2025-03-21 20:45:14 +08:00
Revert formatting changes
This commit is contained in:
parent
8c362bf7c7
commit
1a2f9527fd
@ -148,8 +148,8 @@ export default class PostStreamScrubber extends Component {
|
||||
const percentPerPost = this.percentPerPost();
|
||||
|
||||
const $scrubber = this.$();
|
||||
$scrubber.find(`.Scrubber-index`).text(formatNumber(this.state.sanitizeIndex(Math.max(1, index))));
|
||||
$scrubber.find(`.Scrubber-description`).text(this.state.description);
|
||||
$scrubber.find('.Scrubber-index').text(formatNumber(this.state.sanitizeIndex(Math.max(1, index))));
|
||||
$scrubber.find('.Scrubber-description').text(this.state.description);
|
||||
$scrubber.toggleClass('disabled', this.state.disabled());
|
||||
|
||||
const heights = {};
|
||||
|
@ -7,8 +7,7 @@
|
||||
font-size: 14px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:hover, &:focus {
|
||||
text-decoration: none;
|
||||
color: @link-color;
|
||||
}
|
||||
@ -20,20 +19,14 @@
|
||||
min-height: 50px; // JavaScript sets a max-height
|
||||
position: relative;
|
||||
}
|
||||
.Scrubber-before,
|
||||
.Scrubber-after {
|
||||
.Scrubber-before, .Scrubber-after {
|
||||
border-left: 1px solid @control-bg;
|
||||
}
|
||||
.Scrubber-unread {
|
||||
position: absolute;
|
||||
border-left: 1px solid lighten(@muted-color, 10%);
|
||||
width: 100%;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
@control-bg,
|
||||
fade(@control-bg, 0) 10px,
|
||||
fade(@control-bg, 0)
|
||||
);
|
||||
background-image: linear-gradient(to right, @control-bg, fade(@control-bg, 0) 10px, fade(@control-bg, 0));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: @muted-color;
|
||||
|
Loading…
x
Reference in New Issue
Block a user