Revert formatting changes

This commit is contained in:
Franz Liedke 2020-07-31 11:25:31 +02:00
parent 8c362bf7c7
commit 1a2f9527fd
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4
2 changed files with 5 additions and 12 deletions

View File

@ -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 = {};

View File

@ -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;