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